refactor: 调整滚动条样式,删除OverlayScrollbar组件及其样式

This commit is contained in:
2025-09-15 21:35:36 +08:00
parent 16d8eae61f
commit e5896d05b1
4 changed files with 7 additions and 145 deletions

View File

@ -134,15 +134,15 @@ html, body {
}
::-webkit-scrollbar {
width: 4px; /* 垂直滚动条宽度 */
height: 4px; /* 水平滚动条高度 */
width: 2px; /* 垂直滚动条宽度 */
height: 2px; /* 水平滚动条高度 */
background: transparent; /* 滚动条轨道背景 */
position: absolute; /* 实际不会影响内容布局 */
}
::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.15); /* 滚动条滑块颜色 */
border-radius: 4px;
border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {