From 3facd398de87ce16c3a9437abc15777edff43d8a Mon Sep 17 00:00:00 2001 From: JSR Date: Sat, 28 Mar 2026 15:16:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=99=90=E5=88=B6=E7=9C=8B=E6=9D=BF?= =?UTF-8?q?=E9=A1=B5=E4=BB=85=E5=AD=A6=E7=94=9F=E5=88=97=E8=A1=A8=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/main.css | 5 +++++ src/components/ContentArea.tsx | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/assets/main.css b/src/assets/main.css index dac3a70..f517b87 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -318,6 +318,11 @@ html.platform-macos #root { min-height: 100%; } +.ss-route-page.is-board-page { + height: 100%; + overflow: hidden; +} + .ss-route-page.is-subpage-enter { animation: ss-subpage-enter 240ms cubic-bezier(0.22, 1, 0.36, 1); } diff --git a/src/components/ContentArea.tsx b/src/components/ContentArea.tsx index ca2684d..0557604 100644 --- a/src/components/ContentArea.tsx +++ b/src/components/ContentArea.tsx @@ -92,6 +92,7 @@ export function ContentArea({ const isSubPage = location.pathname !== "/" && !location.pathname.startsWith("/home") const shouldAnimateSubPage = isPortraitMode && isSubPage const normalizedPath = location.pathname === "/" ? "/home" : location.pathname + const isBoardPage = normalizedPath.startsWith("/boards") const isMobileHeaderMode = isPortraitMode && isMobileDevice && !immersiveMode const isPrimaryMobilePage = normalizedPath.startsWith("/home") || normalizedPath.startsWith("/settings") @@ -317,7 +318,7 @@ export function ContentArea({