From 789231a7f4861bef38186f175d9f2aedcca14708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Wed, 20 Jul 2022 09:13:07 +0800 Subject: [PATCH] style: format --- index.html | 2 -- src/styles/index.scss | 12 +++++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 22b335a..2b11570 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,6 @@
-
@@ -30,7 +29,6 @@
<%= title %>
-
diff --git a/src/styles/index.scss b/src/styles/index.scss index 7a68a6e..4bb91b8 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -34,26 +34,24 @@ body { /* 自定义滚动条样式 */ .cur-scroll { - &::-webkit-scrollbar{ + &::-webkit-scrollbar { width: 6px; height: 6px; } - &::-webkit-scrollbar-thumb{ + &::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 3px; } - - &::-webkit-scrollbar-corner{ + + &::-webkit-scrollbar-corner { background: #f6f6f6; } &:hover { &::-webkit-scrollbar-thumb { background: #bfbfbf; } - &::-webkit-scrollbar-thumb:hover{ + &::-webkit-scrollbar-thumb:hover { background: #999999; } } } - -