update
This commit is contained in:
@@ -308,7 +308,7 @@ input { font-family: inherit; }
|
||||
}
|
||||
|
||||
.sidebar-section-content {
|
||||
overflow: hidden;
|
||||
overflow: hidden auto;
|
||||
max-height: 600px;
|
||||
transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1),
|
||||
opacity 0.2s ease,
|
||||
@@ -317,6 +317,24 @@ input { font-family: inherit; }
|
||||
margin-bottom: var(--spacer-sm);
|
||||
}
|
||||
|
||||
/* 侧边栏内容滚动条美化 */
|
||||
.sidebar-section-content::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
.sidebar-section-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.sidebar-section-content::-webkit-scrollbar-thumb {
|
||||
background: var(--border-gray);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.sidebar-section-content::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--text-light);
|
||||
}
|
||||
|
||||
.sidebar-section-group.collapsed .sidebar-section-content {
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user