From 0e34d73acf87883dcec8f6c06108ab53635795fc Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Mon, 1 May 2023 04:53:48 +0900 Subject: [PATCH] proper fix for sheld/topbar misalignment --- public/style.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/style.css b/public/style.css index f3d191ee7..a8123c84d 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: calc(var(--doc-height) - 1px); + height: var(--doc-height); background-color: var(--greyCAIbg); background-repeat: no-repeat; background-attachment: fixed; @@ -221,9 +221,10 @@ code { position: absolute; left: calc((100svw - var(--sheldWidth))/2); top: 41px; - /* margin: 0 auto; */ + margin: 0 auto; + left: 0; + right: 0; z-index: 3; - /* resize: both; */ min-height: 100px; min-width: 100px; width: var(--sheldWidth);