fix(sidebar): scrollbar visibility on hover

- Add scrollbar-color for Firefox support
- Remove transition (not supported on scrollbar pseudo-elements)
This commit is contained in:
vicrodh committed 2026-01-23 23:41:49 -06:00
1 parent f3467706ce
commit eebf766f1c
1 file changed
+8 -1
+8 -1
View File
@@ -959,6 +959,14 @@
}
/* Thin scrollbar - hidden by default, visible on hover */
.playlists-scroll {
scrollbar-color: transparent transparent;
}
.playlists-scroll:hover {
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.playlists-scroll::-webkit-scrollbar {
width: 4px;
}
@@ -970,7 +978,6 @@
.playlists-scroll::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 4px;
transition: background 150ms ease;
}
.playlists-scroll:hover::-webkit-scrollbar-thumb {