Merge pull request #919 from paperclipai/fix/sidebar-scrollbar-hover-track
fix(ui): hide sidebar scrollbar track until hover
This commit is contained in:
@@ -178,10 +178,16 @@
|
|||||||
background: oklch(0.5 0 0);
|
background: oklch(0.5 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Auto-hide scrollbar: transparent by default, visible on container hover */
|
/* Auto-hide scrollbar: fully transparent by default, visible on container hover */
|
||||||
|
.scrollbar-auto-hide::-webkit-scrollbar-track {
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
.scrollbar-auto-hide::-webkit-scrollbar-thumb {
|
.scrollbar-auto-hide::-webkit-scrollbar-thumb {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
.scrollbar-auto-hide:hover::-webkit-scrollbar-track {
|
||||||
|
background: oklch(0.205 0 0) !important;
|
||||||
|
}
|
||||||
.scrollbar-auto-hide:hover::-webkit-scrollbar-thumb {
|
.scrollbar-auto-hide:hover::-webkit-scrollbar-thumb {
|
||||||
background: oklch(0.4 0 0) !important;
|
background: oklch(0.4 0 0) !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user