]> git.ipfire.org Git - ipfire.org.git/commitdiff
CSS: Fix moving the footer to the bottom
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Oct 2023 15:54:40 +0000 (15:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Oct 2023 15:54:40 +0000 (15:54 +0000)
The viewport was not scaled up to the maximum height of the window which
is why the footer was not pushed to the bottom of the page.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/sass/main.sass

index f1a13f8771691161e0cc4c4fc13ba797981b1a34..95704306c2bd429c26c8787ff900353a720282b8 100644 (file)
@@ -62,6 +62,9 @@ $section-padding-desktop:       3rem 0.5rem
 
 // Custom CSS
 
+html, body
+       min-height: 100vh;
+
 #hero-index
        position: relative
        video