feat: 调整侧栏滚动条样式

This commit is contained in:
ZiuChen 2022-08-26 22:10:03 +08:00
parent ed8185052c
commit da5907db8e

View File

@ -11,23 +11,23 @@
word-break: break-all; word-break: break-all;
white-space: pre-wrap; white-space: pre-wrap;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 5px; width: 10px;
height: 10px; height: 10px;
} }
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
border-radius: 2px; border-radius: 2px;
background-color: @bg-color; background-color: @text-bg-color;
&-piece { &-piece {
border-radius: 2px; border-radius: 2px;
background-color: @bg-color; background-color: @text-bg-color;
} }
} }
&::-webkit-scrollbar-thumb { &::-webkit-scrollbar-thumb {
background: @bg-color; background: @text-color-lighter;
border-radius: 2px; border-radius: 5px;
} }
&::-webkit-scrollbar-thumb:hover { &::-webkit-scrollbar-thumb:hover {
background: @nav-bg-color; background: @text-color;
} }
} }
.clip-overlay { .clip-overlay {