Fix layout issues for bobcat theme, so footer sticks to bottom
i.e. even when page has little/no content
This commit is contained in:
parent
5516a11012
commit
84f25ae91e
|
@ -1,31 +1,20 @@
|
|||
|
||||
/* /\****************************** */
|
||||
/* * Main Layout */
|
||||
/* ******************************\/ */
|
||||
/******************************
|
||||
* main layout
|
||||
******************************/
|
||||
|
||||
/* html, body, #body-wrapper { */
|
||||
/* height: 100%; */
|
||||
/* } */
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* body > #body-wrapper { */
|
||||
/* height: auto; */
|
||||
/* min-height: 100%; */
|
||||
/* } */
|
||||
|
||||
/* #body-wrapper { */
|
||||
/* margin: 0 1em; */
|
||||
/* width: auto; */
|
||||
/* } */
|
||||
|
||||
/* #header { */
|
||||
/* height: 50px; */
|
||||
/* line-height: 50px; */
|
||||
/* } */
|
||||
|
||||
/* #body { */
|
||||
/* padding-top: 10px; */
|
||||
/* padding-bottom: 5em; */
|
||||
/* } */
|
||||
.content-wrapper {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
/******************************
|
||||
|
|
|
@ -164,6 +164,8 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
## Page Body
|
||||
<section id="page-body">
|
||||
|
||||
|
@ -198,6 +200,8 @@
|
|||
</div>
|
||||
</footer>
|
||||
|
||||
</div><!-- content-wrapper -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in a new issue