From 086fc3c7e494f1a441b15988e283a4f2a1a6e233 Mon Sep 17 00:00:00 2001 From: rain Date: Tue, 21 Jul 2026 10:43:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=8B=E6=9C=BA=E5=8F=AF?= =?UTF-8?q?=E7=94=A8=E8=A7=86=E5=8F=A3=E5=9F=BA=E7=A1=80=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/global.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/styles/global.scss b/styles/global.scss index 963e5f5..f4aaa8d 100644 --- a/styles/global.scss +++ b/styles/global.scss @@ -1,9 +1,19 @@ page { + --app-viewport-height: 100vh; + --app-safe-top: env(safe-area-inset-top, 0px); + --app-safe-bottom: env(safe-area-inset-bottom, 0px); + --app-touch-min: 44px; background: $paper; color: $ink; font-family: "STKaiti", "KaiTi", serif } +@supports (height: 100dvh) { + page { + --app-viewport-height: 100dvh; + } +} + .page-shell { min-height: 100vh; box-sizing: border-box;