Skip to content

Commit

Permalink
* scrollbar: fix css var --scrollbar-bg not work as expected.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Dec 3, 2024
1 parent fdf2196 commit 818fda7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/scrollbar/src/style/scrollbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
::-webkit-scrollbar-track {
box-shadow: var(--scrollbar-shadow);
transition: background-color var(--scrollbar-duration);
background: var(--scrollbar-bg);
}
:hover::-webkit-scrollbar-track,
::-webkit-scrollbar-track:hover {
background: var(--scrollbar-bg);
background: var(--scrollbar-hover-bg);
}

::-webkit-scrollbar-thumb {
Expand Down

0 comments on commit 818fda7

Please sign in to comment.