Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mebtte committed Nov 27, 2023
1 parent baf3611 commit a83e107
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,9 @@ const Demo = () => {
### How to prevent user scroll ?

```jsx
<Lrc
style={{ overflow: 'hidden !important' }}
recoverAutoScrollInterval={0}
{...otherProps}
/>
const style = { overflow: 'hidden !important' };

<Lrc style={style} recoverAutoScrollInterval={0} {...otherProps} />;
```

### How to hide scrollbar ?
Expand All @@ -123,9 +121,6 @@ const Demo = () => {

/* firefox */
scrollbar-width: none;

/* ie */
-ms-overflow-style: none;
}
```

Expand Down

0 comments on commit a83e107

Please sign in to comment.