From 62c4855cc439286e6efc5a86376ded3b2ceb0c0a Mon Sep 17 00:00:00 2001 From: JSR Date: Thu, 19 Mar 2026 18:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4iOS=E6=A0=B9=E5=AE=B9?= =?UTF-8?q?=E5=99=A8=E9=94=81=E9=AB=98=E4=BB=A5=E4=BF=AE=E5=A4=8D=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E9=BB=91=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 2 +- src/assets/main.css | 8 ++------ src/main.tsx | 9 --------- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 3ffc14d..04df4f8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -297,7 +297,7 @@ function MainContent(): React.JSX.Element { }} > {contextHolder} - + { - const appHeight = Math.max(window.innerHeight, 0) - document.documentElement.style.setProperty("--ss-app-height", `${appHeight}px`) -} -setAppHeightVar() -window.addEventListener("resize", setAppHeightVar) -window.addEventListener("orientationchange", setAppHeightVar) -window.addEventListener("pageshow", setAppHeightVar) - window.addEventListener("error", (e: any) => { const error = e?.error safeWriteLog({