Browse Source

修改滚动条样式

zengyicheng 2 years ago
parent
commit
10c2aff7a1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/study.vue

+ 2 - 2
src/components/study.vue

@@ -4232,7 +4232,7 @@ export default {
 .study_top::-webkit-scrollbar-track,
 .textContent::-webkit-scrollbar {
   border-radius: 10px;
-  background-color: #2c5ab3;
+  background-color: #B8BDC9;
 }
 
 /*定义滑块 内阴影+圆角*/
@@ -4240,7 +4240,7 @@ export default {
 .study_top::-webkit-scrollbar-thumb,
 .textContent::-webkit-scrollbar-thumb {
   border-radius: 10px;
-  -webkit-box-shadow: inset 0 0 6px #2c5ab3;
+  -webkit-box-shadow: inset 0 0 6px rgb(96, 125, 184);
   background-color: #2c5ab3;
 }