Turn the footer into a proper sticky footer
This commit is contained in:
parent
c3701899d7
commit
4dd1fef41b
|
@ -6462,8 +6462,20 @@ a.text-dark:focus, a.text-dark:hover {
|
||||||
.table-bordered th,
|
.table-bordered th,
|
||||||
.table-bordered td {
|
.table-bordered td {
|
||||||
border: 1px solid #ddd !important; } }
|
border: 1px solid #ddd !important; } }
|
||||||
|
html {
|
||||||
|
position: relative;
|
||||||
|
min-height: 100%; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding-top: 80px; }
|
padding-top: 80px;
|
||||||
|
margin-bottom: 24px; }
|
||||||
|
|
||||||
|
footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 24px;
|
||||||
|
line-height: 24px; }
|
||||||
|
|
||||||
.list-html ul,
|
.list-html ul,
|
||||||
.list-html ol {
|
.list-html ol {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,9 +1,24 @@
|
||||||
// Include all of Bootstrap
|
// Include all of Bootstrap
|
||||||
@import "bootstrap/bootstrap";
|
@import "bootstrap/bootstrap";
|
||||||
|
|
||||||
|
//
|
||||||
|
html {
|
||||||
|
position: relative;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
// Add some padding for the fixed-top navbar
|
// Add some padding for the fixed-top navbar
|
||||||
body {
|
body {
|
||||||
padding-top: 80px;
|
padding-top: 80px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 24px;
|
||||||
|
line-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reduce the large padding for lists
|
// Reduce the large padding for lists
|
||||||
|
|
Loading…
Reference in New Issue