mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-26 11:06:23 +00:00
refactor: 调整滚动条样式,删除OverlayScrollbar组件及其样式
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user