-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set scrollbar colors as global styles #1484
Conversation
Signed-off-by: Alex Andreev <[email protected]>
Signed-off-by: Alex Andreev <[email protected]>
Signed-off-by: Alex Andreev <[email protected]>
Signed-off-by: Alex Andreev <[email protected]>
Signed-off-by: Alex Andreev <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
} | ||
|
||
overflow-y: overlay !important; | ||
overflow-y: overlay!important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why !important
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It overrides overflow: auto
inline styles defined by VirtualList
component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or by react-window
internals did you mean?
Thank you! |
This PR simplifies using themable scrollbar colors and eliminates of using sass
custom-scrollbar
mixin.From now extensions will also use custom scrollbars defined in global styles for sake of consisten view across all Lens components.
Fixes #1337
Fixes #1483
Part of #1298