Merge pull request #919 from paperclipai/fix/sidebar-scrollbar-hover-track
fix(ui): hide sidebar scrollbar track until hover
This commit is contained in:
commit
f482433ddf
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue