Add class to allow for overriding scrollbar width
Closes #1379 (cherry picked from commit 42343d528372c494b297e5c84125f7bdb6ab4eec)
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
/* Placeholder */
|
/* Placeholder */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.track {
|
||||||
|
/* Placeholder */
|
||||||
|
}
|
||||||
|
|
||||||
.thumb {
|
.thumb {
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ class OverlayScroller extends Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
className={styles.track}
|
||||||
style={finalStyle}
|
style={finalStyle}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
@@ -82,6 +83,7 @@ class OverlayScroller extends Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
className={styles.track}
|
||||||
style={finalStyle}
|
style={finalStyle}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user