This commit is contained in:
lychang
2026-07-20 00:23:00 +08:00
parent 36969a4fa0
commit b1f0c2f36a
2 changed files with 47 additions and 6 deletions

View File

@@ -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;