From 7b0acd007b5ed90123143297bd86659d73d14225 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Wed, 18 Dec 2024 12:55:30 +0100 Subject: [PATCH] Use vmax instead of vh --- sass/style.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 2ade7d1..6fdd2aa 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -7,7 +7,7 @@ body { display: flex; flex-direction: column; - min-height: 100vh; + min-height: 100dvh; font-family: 'Source Code Pro', monospace; background: var(--background); color: var(--color); @@ -79,7 +79,8 @@ footer { align-items: center; align-self: flex-end; margin-top: auto; - margin-bottom: 2rem; + margin-bottom: max(2rem, env(safe-area-inset-bottom)); /* Account for safe area */ + } .hamburger {