Sticky footer
Closes https://github.com/TryGhost/Casper/issues/354, Closes https://github.com/TryGhost/Casper/issues/362
This commit is contained in:
parent
577b92811c
commit
d2375a3917
3 changed files with 13 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -51,6 +51,17 @@ body {
|
||||||
/* 2. Layout - Page building blocks
|
/* 2. Layout - Page building blocks
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|
||||||
|
.site-wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-main {
|
||||||
|
z-index: 100;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Full width page blocks */
|
/* Full width page blocks */
|
||||||
.outer {
|
.outer {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -358,10 +369,6 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
|
||||||
/* 6. Post Feed
|
/* 6. Post Feed
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|
||||||
.site-main {
|
|
||||||
z-index: 100;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-feed {
|
.post-feed {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in a new issue