From 5193b1c156d433176943affd138d77842b14868a Mon Sep 17 00:00:00 2001 From: dream_pep Date: Sat, 11 Jul 2026 19:44:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B6=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/globals.css b/app/globals.css index 71b729c..d3a090a 100644 --- a/app/globals.css +++ b/app/globals.css @@ -3,19 +3,15 @@ @import "shadcn/tailwind.css"; /* Hide scrollbar */ -html { - overflow: hidden; - height: 100%; -} -body { - overflow-y: auto; - height: 100%; +* { scrollbar-width: none; -ms-overflow-style: none; } -body::-webkit-scrollbar { +*::-webkit-scrollbar { display: none; width: 0; + height: 0; + background: transparent; } @custom-variant dark (&:is(.dark *));