From 66f082ae84d0bdb75a699123bf73c6d6ef7812ca Mon Sep 17 00:00:00 2001 From: Retsomm <112182ssss@gmail.com> Date: Tue, 7 Jul 2026 19:38:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(pwa):=20=E4=BF=AE=E5=BE=A9=20iPad=20Safari?= =?UTF-8?q?=20=E6=9B=B8=E5=BA=AB/=E9=96=B1=E8=AE=80=E9=A0=81=E5=87=BA?= =?UTF-8?q?=E7=8F=BE=E5=A4=9A=E9=A4=98=E5=9E=82=E7=9B=B4=E6=8D=B2=E8=BB=B8?= =?UTF-8?q?=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 改用 dvh 動態視窗高度並鎖定 html/body/#root 高度為 100%、overflow hidden, 避免 iOS Safari 工具列展開收合造成 100vh 計算誤差,導致底部頁數內容被藏在可視範圍外。 Co-Authored-By: Claude Sonnet 5 --- pwa/src/App.tsx | 4 ++-- pwa/src/index.css | 13 +++++++++++-- pwa/src/page/Library.tsx | 4 ++-- pwa/src/page/Reader.tsx | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/pwa/src/App.tsx b/pwa/src/App.tsx index e19cbaa..e131744 100644 --- a/pwa/src/App.tsx +++ b/pwa/src/App.tsx @@ -16,7 +16,7 @@ const App = () => { if (window.location.pathname === '/private') { return (
-
+
setDarkMode(!darkMode)} />
@@ -69,7 +69,7 @@ const App = () => { return (
-
+
{view === 'library' && ( +