From a585b99b08f9333df695ef0ceda70746633210ce Mon Sep 17 00:00:00 2001 From: Valexr Date: Mon, 20 May 2024 09:06:38 +0200 Subject: [PATCH] fix: dhv --- src/css/base.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/css/base.css b/src/css/base.css index dfaf554..500d598 100644 --- a/src/css/base.css +++ b/src/css/base.css @@ -1,14 +1,14 @@ body, html { - height: 100vh; + height: 100dvh; font-family: system-ui; } html::before { content: attr(title); position: absolute; - inset: 97.5vh 0 0; - font-size: 0.8em; + inset: 97.5dvh 0 0; + font-size: 0.8rem; font-weight: 300; font-family: inherit; opacity: 0.69; @@ -22,14 +22,14 @@ html::after { z-index: -1; inset: 0; overflow: hidden; - height: 100vh; + height: 100dvh; } body { margin: 0; display: grid; - grid-template-rows: 1fr 4.5em; + grid-template-rows: 1fr 4.5rem; grid-template-columns: 1fr; text-align: center; /* background-color: var(--light); */