mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
Scrollbar supports theming again
This commit is contained in:
parent
1891e9fde6
commit
bd2a6f87e6
@ -115,12 +115,12 @@ export const getScrollAreaStyles: (theme: Theme) => Interpolation = (theme: Them
|
||||
'.simplebar-scrollbar:before': {
|
||||
position: 'absolute',
|
||||
content: '""',
|
||||
background: 'black',
|
||||
borderRadius: 7,
|
||||
left: 0,
|
||||
right: 0,
|
||||
opacity: 0,
|
||||
transition: 'opacity 0.2s linear',
|
||||
background: theme.base === 'light' ? theme.color.darkest : theme.color.lightest,
|
||||
},
|
||||
|
||||
'.simplebar-track .simplebar-scrollbar.simplebar-visible:before': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user