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 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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue