From a8e33184cffb60a01a67303511defd8d21d473e5 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Sun, 30 Apr 2023 21:37:38 +0900 Subject: [PATCH] fix for topbar/sheld losing align on zoomed displays --- public/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index 8d78e55de..816a64087 100644 --- a/public/style.css +++ b/public/style.css @@ -86,7 +86,7 @@ body { /*fallback for JS load*/ height: 100svh; /*defaults as 100%, then reassigned via JS as pixels, will work on PC and Android*/ - height: var(--doc-height); + height: calc(var(--doc-height) - 1px); background-color: var(--greyCAIbg); background-repeat: no-repeat; background-attachment: fixed; @@ -204,7 +204,7 @@ code { right: 0; display: inline-block; height: 40px; - position: fixed; + position: absolute; border-bottom: 1px solid var(--grey30a); box-shadow: 0 2px 20px 0 var(--black70a); backdrop-filter: blur(var(--SmartThemeBlurStrength));