style(sidebar): hide scrollbar by default, align collapsed icons

- Scrollbar hidden by default, visible on hover
- Space reserved (4px width maintained)
- Moved 1px right (margin-right: 3px)
- Collapsed mode: margin-right 0 to align icons with rest of sidebar
This commit is contained in:
vicrodh committed 2026-01-23 23:40:43 -06:00
1 parent 153e820523
commit f3467706ce
1 file changed
+12 -7
+12 -7
View File
@@ -953,12 +953,12 @@
.playlists-scroll {
overflow-y: auto;
margin-right: 4px;
margin-right: 3px;
min-height: 0;
flex: 1;
}
/* Thin scrollbar for both expanded and collapsed modes */
/* Thin scrollbar - hidden by default, visible on hover */
.playlists-scroll::-webkit-scrollbar {
width: 4px;
}
@@ -968,18 +968,23 @@
}
.playlists-scroll::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
background: transparent;
border-radius: 4px;
transition: background 150ms ease;
}
.playlists-scroll::-webkit-scrollbar-thumb:hover {
.playlists-scroll:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
}
.playlists-scroll:hover::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.25);
}
/* When sidebar is collapsed, use overlay scrollbar to keep icons aligned */
/* When sidebar is collapsed, align icons with rest of sidebar */
.sidebar.collapsed .playlists-scroll {
overflow-y: overlay;
padding-right: 0;
overflow-y: auto;
margin-right: 0;
}
.playlists-loading,