gui: Improve layout of footer on narrow screens (fixes #2663)

This commit is contained in:
Jakob Borg 2016-03-17 16:39:50 +00:00 committed by Audrius Butkevicius
parent 94b3ce44e6
commit c952468e13
2 changed files with 29 additions and 7 deletions

View File

@ -275,11 +275,32 @@ ul.three-columns li, ul.two-columns li {
/** Footer nav on small devices **/
@media (max-width: 1199px) {
/* Stay at the end of the page, with space reserved for the footer
usually taking up two rows. */
html {
position: relative;
min-height: 100%;
}
body {
padding-bottom: 0;
padding-bottom: 60px;
}
.navbar-fixed-bottom {
position: static;
position: absolute;
}
}
@media (max-width: 768px) {
/* Layout after the normal contents, as this is when the footer switches
to a vertical layout. */
body {
padding-bottom: 0px;
}
.navbar-fixed-bottom {
position: relative;
}
}

File diff suppressed because one or more lines are too long