-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[Dialog] Change background color with out editing the theme's canvas colour? #1521
Comments
I'm also interested by this too. It's impossible to change even by adding a custom class. |
I was hoping the style prop would work, but that oddly seems to change the overlayStyle instead. |
I have just spent the last several hours plumbing the depths of the Dialog component. It appears that there is a direct child DIV of the 'content' DIV that is unreachable. None of the *style props target this element, but it has essential styles applied to it. These include the background color of the entire dialog, border radius and height. |
Funny, we were looking for the same thing at the same time @jcheroske... I'm running down that rabbit hole myself today. |
Ok @jcheroske here's what I did:
|
|
Resolved by the new styling approach in |
@mbrookes what is |
@hhsadiq It's JSS with jss-theme-reactor |
Work's in next with:
JS/React:
|
Setting contentInnerStyle, contentStyle, or style = {{backgroundColor: "#ededed"}} doesn't seem to change it from white.
The text was updated successfully, but these errors were encountered: