File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/components/core/styles/theming Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
@use ' ./scrollbar-tokens' ;
7
7
8
8
@mixin kbq-scrollbar () {
9
- // firefox
9
+ // For Firefox compatibility
10
10
@supports not selector (::-webkit-scrollbar ) {
11
- scrollbar-width : thin ;
11
+ scrollbar-width : auto ;
12
12
}
13
13
14
14
// webkit
53
53
.kbq-scrollbar {
54
54
@include kbq-scrollbar ();
55
55
56
- // firefox
56
+ // For Firefox compatibility
57
57
@supports not selector (::-webkit-scrollbar ) {
58
58
scrollbar-color : var (--kbq-scrollbar-thumb-default-background ) transparent ;
59
59
}
68
68
& ::-webkit-scrollbar-thumb ,
69
69
::-webkit-scrollbar-thumb {
70
70
border-color : transparent ;
71
-
71
+ // https://stackoverflow.com/a/16829330/6386666
72
72
background-clip : content-box ;
73
73
background-color : var (--kbq-scrollbar-thumb-default-background );
74
74
You can’t perform that action at this time.
0 commit comments