From 1d19bb07a7a81b6a45bdc63466243ef5854a8646 Mon Sep 17 00:00:00 2001 From: kkfluous Date: Sun, 29 Mar 2026 00:36:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E6=AD=A2iOS=E6=A9=A1=E7=9A=AE?= =?UTF-8?q?=E7=AD=8B=E6=BB=9A=E5=8A=A8=EF=BC=8C=E4=B8=8D=E5=86=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8A=E4=B8=8B=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit overscroll-behavior:none + html overflow:hidden 防止页面过度滚动 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/index.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/index.css b/src/index.css index f1d8c73..7fdd18d 100644 --- a/src/index.css +++ b/src/index.css @@ -1 +1,16 @@ @import "tailwindcss"; + +html, body { + overscroll-behavior: none; + -webkit-overflow-scrolling: touch; +} + +html { + overflow: hidden; + height: 100%; +} + +body { + overflow: auto; + height: 100%; +}