diff --git a/src/sass/main.sass b/src/sass/main.sass index 392f4cb..8d57065 100644 --- a/src/sass/main.sass +++ b/src/sass/main.sass @@ -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 diff --git a/src/style.css b/src/style.css index 61a8557..829728a 100644 --- a/src/style.css +++ b/src/style.css @@ -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; - } }