Turn the footer into a proper sticky footer

This commit is contained in:
Paul van Tilburg 2018-01-02 14:49:05 +01:00
parent c3701899d7
commit 4dd1fef41b
3 changed files with 29 additions and 2 deletions

View File

@ -6462,8 +6462,20 @@ a.text-dark:focus, a.text-dark:hover {
.table-bordered th,
.table-bordered td {
border: 1px solid #ddd !important; } }
html {
position: relative;
min-height: 100%; }
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 ol {

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,24 @@
// Include all of Bootstrap
@import "bootstrap/bootstrap";
//
html {
position: relative;
min-height: 100%;
}
// Add some padding for the fixed-top navbar
body {
padding-top: 80px;
margin-bottom: 24px;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 24px;
line-height: 24px;
}
// Reduce the large padding for lists