@@ -47,20 +47,17 @@ module.exports = {
47
47
size: ' 5px' , // width or height, default '5px'
48
48
track: {
49
49
background: ' lightgray' , // default '#f1f1f1'
50
- // add other css attributes here,
51
- // will be merged to ::-webkit-scrollbar-track
50
+ // add any css attributes here, will be merged to ::-webkit-scrollbar-track
52
51
},
53
52
thumb: {
54
53
background: ' gray' , // default '#c1c1c1'
55
54
borderRadius: ' 40px' ,
56
- // add other css attributes here,
57
- // will be merged to ::-webkit-scrollbar-thumb
55
+ // add any css attributes here, will be merged to ::-webkit-scrollbar-thumb
58
56
},
59
57
hover: {
60
58
background: ' darkgray' , // default '#a8a8a8'
61
59
borderRadius: ' 40px' ,
62
- // add other css attributes here,
63
- // will be merged to ::-webkit-scrollbar-thumb:hover
60
+ // add any css attributes here, will be merged to ::-webkit-scrollbar-thumb:hover
64
61
},
65
62
}),
66
63
],
@@ -144,7 +141,7 @@ hover: {
144
141
},
145
142
```
146
143
147
- ## Hides scrollbar.
144
+ ## Hides scrollbar
148
145
149
146
To hide the scrollbar but still make it scrollable, use ` scrollbar-none ` class
150
147
on the element with ` overflow: auto | scroll ` .
@@ -162,7 +159,7 @@ This is done by using `scrollbar-width: none` on Firefox and `::-webkit-scrollba
162
159
163
160
This plugin uses ` ::-webkit-scrollbar ` to modify scrollbar style.
164
161
165
- Not supported in ** all versions of Firefox** and ** Edge version 78 or older** .
162
+ Not supported on ** all versions of Firefox** and ** Edge version 78 or older** .
166
163
167
164
[ See Browser Compatibility] ( https://caniuse.com/?search=%3A%3A-webkit-scrollbar )
168
165
0 commit comments