From dbb4a67ad92ed7dd908f6fb46123bcefc7124922 Mon Sep 17 00:00:00 2001 From: Luke Harris Date: Sun, 20 Oct 2024 11:26:43 -0500 Subject: [PATCH] Keep footer at bottom of viewport Fixes #206 --- simple.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simple.css b/simple.css index af78f42..ac94e59 100644 --- a/simple.css +++ b/simple.css @@ -61,6 +61,10 @@ progress { -moz-appearance: none; } +html, body { + height: 100%; +} + html { /* Set the font globally */ font-family: var(--sans-font); @@ -75,6 +79,7 @@ body { line-height: 1.5; display: grid; grid-template-columns: 1fr min(45rem, 90%) 1fr; + grid-template-rows: min-content 1fr auto; margin: 0; } body > * {