From 3b3435c9995c760df8f60d3456eb47f6408f2822 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Mon, 27 Feb 2023 19:24:49 +0100 Subject: [PATCH] change 1px --- website/src/components/HeadCommon.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/HeadCommon.astro b/website/src/components/HeadCommon.astro index 24388a20..9e81b0b8 100644 --- a/website/src/components/HeadCommon.astro +++ b/website/src/components/HeadCommon.astro @@ -78,7 +78,7 @@ const base = BASE_URL; // https://medium.com/quick-code/100vh-problem-with-ios-safari-92ab23c852a8 const appHeight = () => { const doc = document.documentElement; - doc.style.setProperty('--app-height', `${window.innerHeight}px`); + doc.style.setProperty('--app-height', `${window.innerHeight - 1}px`); }; if (typeof window !== 'undefined') { window.addEventListener('resize', appHeight);