fix footer on mobile
This commit is contained in:
parent
f35f2cc6d5
commit
1d1c2d7f1a
@ -50,6 +50,7 @@ nav
|
||||
|
||||
main
|
||||
flex-grow: 1 // puts the statusline at the bottom of the page
|
||||
padding-bottom: $footer-height + 2 * $footer-padding-y
|
||||
*
|
||||
margin-left: auto
|
||||
margin-right: auto
|
||||
@ -95,6 +96,9 @@ footer
|
||||
color: $bg
|
||||
height: $footer-height
|
||||
min-height: $footer-height // idk why but this is required
|
||||
width: 100%
|
||||
position: fixed
|
||||
bottom: 0
|
||||
overflow-x: scroll
|
||||
overflow-y: hidden
|
||||
white-space: nowrap
|
||||
@ -257,11 +261,3 @@ button:hover
|
||||
.current-file
|
||||
height: 100%
|
||||
width: 100%
|
||||
|
||||
|
||||
|
||||
|
||||
footer
|
||||
width: 100%
|
||||
position: fixed
|
||||
bottom: 0
|
||||
|
@ -22,6 +22,7 @@ nav {
|
||||
|
||||
main {
|
||||
flex-grow: 1;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
main * {
|
||||
margin-left: auto;
|
||||
@ -71,8 +72,12 @@ footer {
|
||||
color: #f9f5d7;
|
||||
height: 20px;
|
||||
min-height: 20px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
footer * {
|
||||
color: #f9f5d7;
|
||||
@ -269,9 +274,4 @@ button:hover {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
footer {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user