From 6090c0196592f1444818a37690d86b94b469bd62 Mon Sep 17 00:00:00 2001 From: codytseng Date: Mon, 20 Oct 2025 09:57:49 +0800 Subject: [PATCH] style: hide scrollbar --- src/index.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/index.css b/src/index.css index e504724..cba0c62 100644 --- a/src/index.css +++ b/src/index.css @@ -33,6 +33,16 @@ user-select: none; } + /* hide scrollbar */ + html, body { + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE 和 Edge */ + } + html::-webkit-scrollbar, + body::-webkit-scrollbar { + display: none; /* Chrome、Safari、Edge */ + } + .clickable { cursor: pointer; transition: background-color 0.2s ease;