From 1ed4f2ac9797c5d1dace933ab06531f1caecf282 Mon Sep 17 00:00:00 2001 From: Bang <15622356989@163.com> Date: Fri, 8 Jul 2022 17:34:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/styles/base.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/shared/styles/base.scss b/src/shared/styles/base.scss index 3eb9734..3a17577 100644 --- a/src/shared/styles/base.scss +++ b/src/shared/styles/base.scss @@ -19,6 +19,22 @@ body { body { overflow-x: auto; overflow-y: auto; + &::-webkit-scrollbar { + width: 6px; + height: 6px; + } + + &::-webkit-scrollbar-thumb { + border-radius: 3px; + background-color: #d8d8d8; + background-clip: content-box; + } + + &::-webkit-scrollbar-track { + border-radius: 3px; + box-shadow: inset 0 0 2px rgba($color: #000000, $alpha: 0.2); + background: #ffffff; + } } *, -- Gitee