From e28b6513c1a4bd963a01cae1d0c2fb7a5eea2bac Mon Sep 17 00:00:00 2001 From: dream_pep Date: Sat, 11 Jul 2026 19:21:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=BB=E8=A6=81css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/app/globals.css b/app/globals.css index 3364ea0..71b729c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -4,23 +4,18 @@ /* Hide scrollbar */ html { - scrollbar-width: none !important; - -ms-overflow-style: none !important; -} -html::-webkit-scrollbar { - display: none !important; - width: 0 !important; - height: 0 !important; + overflow: hidden; + height: 100%; } body { overflow-y: auto; - scrollbar-width: none !important; - -ms-overflow-style: none !important; + height: 100%; + scrollbar-width: none; + -ms-overflow-style: none; } body::-webkit-scrollbar { - display: none !important; - width: 0 !important; - height: 0 !important; + display: none; + width: 0; } @custom-variant dark (&:is(.dark *));