Skip to content

Commit a9b3132

Browse files
committed
fixed wording
1 parent e66f19e commit a9b3132

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,17 @@ module.exports = {
4747
size: '5px', // width or height, default '5px'
4848
track: {
4949
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
5251
},
5352
thumb: {
5453
background: 'gray', // default '#c1c1c1'
5554
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
5856
},
5957
hover: {
6058
background: 'darkgray', // default '#a8a8a8'
6159
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
6461
},
6562
}),
6663
],
@@ -144,7 +141,7 @@ hover: {
144141
},
145142
```
146143

147-
## Hides scrollbar.
144+
## Hides scrollbar
148145

149146
To hide the scrollbar but still make it scrollable, use `scrollbar-none` class
150147
on the element with `overflow: auto | scroll`.
@@ -162,7 +159,7 @@ This is done by using `scrollbar-width: none` on Firefox and `::-webkit-scrollba
162159

163160
This plugin uses `::-webkit-scrollbar` to modify scrollbar style.
164161

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**.
166163

167164
[See Browser Compatibility](https://caniuse.com/?search=%3A%3A-webkit-scrollbar)
168165

0 commit comments

Comments
 (0)