From 402250441be4f70b8b6c33003a64fd61f42abe79 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Thu, 13 Apr 2023 18:08:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20fix(scroll):=20=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F=E7=BE=8E=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/index.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/assets/index.css b/src/assets/index.css index 43cdb4c0..0a27cbf5 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -1,5 +1,29 @@ @import "fonts/index.css"; +/* + * @description 侧边滚动条样式 + * @since Alpha v0.1.3 + */ +::-webkit-scrollbar { + width: 10px; + height: 10px; + border-radius: 10px; +} + +::-webkit-scrollbar-track { + background: #f1f1f1; + border-radius: 10px; +} + +::-webkit-scrollbar-thumb { + background: #888; + border-radius: 10px; +} + +::-webkit-scrollbar-thumb:hover { + background: #555; +} + /* * @description 米游社解析 json * @since Alpha v0.1.1