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

There is a way to change scrollbar inside the react-modal ? #978

Open
LucasRochaOSF opened this issue Oct 28, 2022 · 0 comments
Open

There is a way to change scrollbar inside the react-modal ? #978

LucasRochaOSF opened this issue Oct 28, 2022 · 0 comments

Comments

@LucasRochaOSF
Copy link

LucasRochaOSF commented Oct 28, 2022

Summary:

Basically, I'm trying to change the scrollbar inside the react-modal component, I'm using inline styles and I've tried to use like this inside the "content" property:

"&::-webkit-scrollbar": {
width: "20px",
},
"&::-webkit-scrollbar-track": {
boxShadow: "inset 0 0 5px grey",
borderRadius: "10px",
},
"&::-webkit-scrollbar-thumb": {
background: "red",
borderRadius: "10px",
},

but not changes, has any way to change the scrollbar with inline styling?

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