From 476a96279e975564f61347895617c6511dfe6539 Mon Sep 17 00:00:00 2001 From: Joxit Date: Thu, 24 Dec 2020 22:32:01 +0100 Subject: [PATCH] fix: the footer is no more sticky to the bottom of the page fixes #159 --- src/style.css | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/src/style.css b/src/style.css index 424b061..9cc7c3a 100644 --- a/src/style.css +++ b/src/style.css @@ -24,10 +24,6 @@ html, body { height: 100%; } -main { - margin-bottom: 100px; -} - .section-centerd { margin: auto; } @@ -384,31 +380,18 @@ material-popup .popup { footer { width: 100%; - position: fixed; z-index: 75; bottom: 0; } -@media screen and (max-height: 750px) { - main { - min-height: calc(100% - 164px - 2.5em); - margin-bottom: 2em; - } - footer { - position: relative; - } +main { + min-height: calc(100% - 136px); } material-footer { padding: 0.5em 1em; } -@media screen and (min-width: 760px) and (max-height: 750px) { - main { - min-height: calc(100% - 144px - 2.5em); - } -} - .select-padding { padding: 20px 0; }