Skip to content
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

Can not change element webkit scrollbar using custom styles #204

Open
muboshers opened this issue Jul 3, 2024 · 0 comments
Open

Can not change element webkit scrollbar using custom styles #204

muboshers opened this issue Jul 3, 2024 · 0 comments

Comments

@muboshers
Copy link

image
i will try to change this style but i can not change if i delete

.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar) {
  scrollbar-width: var(--g-scrollbar-width);
  scrollbar-color: var(--g-color-scroll-handle) var(--g-color-scroll-track);
}
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar)::-webkit-scrollbar,
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar) *::-webkit-scrollbar {
  width: var(--g-scrollbar-width);
  height: var(--g-scrollbar-width);
  background: var(--g-color-scroll-track);
}
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar)::-webkit-scrollbar-track,
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar) *::-webkit-scrollbar-track {
  background: var(--g-color-scroll-track);
}
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar)::-webkit-scrollbar-corner,
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar) *::-webkit-scrollbar-corner {
  background: var(--g-color-scroll-corner);
}
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar)::-webkit-scrollbar-thumb,
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar) *::-webkit-scrollbar-thumb {
  background: var(--g-color-scroll-handle);
}
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar)::-webkit-scrollbar-thumb:hover,
.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar) *::-webkit-scrollbar-thumb:hover {
  background: var(--g-color-scroll-handle-hover);
}

this code from node modules then webkit scrollbar style update how i fix this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant