From 265d29c2750843b0dbd3ea74d8d1564763a38a50 Mon Sep 17 00:00:00 2001 From: MathiasDPX Date: Thu, 6 Mar 2025 18:34:58 +0100 Subject: [PATCH] fix: use dynamic viewport size instead of viewport size --- static/base.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/base.css b/static/base.css index 1baed55..7171eda 100644 --- a/static/base.css +++ b/static/base.css @@ -72,7 +72,7 @@ header h1 { } @media (max-width: 768px) { html, body { - min-height: 100vh; + min-height: 100dvh; } #wrap { width: 100%; @@ -83,7 +83,7 @@ header h1 { } header h1 { - font-size: clamp(2rem, 20vw, 100px); + font-size: clamp(2rem, 20dvw, 100px); text-align: center; max-width: 90%; word-wrap: break-word;