Skip to content

Commit 8341d81

Browse files
fix(Scroll): hover scroll width variable not work (#5342)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 92091df commit 8341d81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/BootstrapBlazor/Components/Scroll/Scroll.razor.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
2828
}
2929

3030
&:hover {
31-
--bb-scroll-width: var(--bb-scroll-hover-width, var(--bb-scroll-default-hover-width));
31+
&::-webkit-scrollbar {
32+
width: var(--bb-scroll-hover-width, var(--bb-scroll-default-hover-width));
33+
height: var(--bb-scroll-hover-width, var(--bb-scroll-default-hover-width));
34+
}
3235

3336
&::-webkit-scrollbar-thumb {
3437
background-color: var(--bb-scroll-thumb-hover-bg);

0 commit comments

Comments
 (0)