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({