fix: 优化颜色列表卡顿问题

This commit is contained in:
mtruning
2022-03-13 13:37:25 +08:00
parent 987f4f73a2
commit 67dc58e08e
3 changed files with 136 additions and 91 deletions
+17 -1
View File
@@ -1,3 +1,19 @@
body {
overflow: hidden;
}
}
/* 设置滚动条的样式 */
::-webkit-scrollbar {
width: 8px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
border-radius: 2px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
border-radius: 4px;
background: #a3a3a3;
}