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

[MuiButtonBase , MuiButton] Can not overrides style without important #24260

Closed
mtr1990 opened this issue Jan 4, 2021 · 2 comments
Closed

[MuiButtonBase , MuiButton] Can not overrides style without important #24260

mtr1990 opened this issue Jan 4, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@mtr1990
Copy link

mtr1990 commented Jan 4, 2021

Hello,

have just upgrade 5.0.0-alpha.21 i have issue with [MuiButtonBase , MuiButton] ( at version 5.0.0-alpha.20 not issue )

This is my issue https://prnt.sc/wfrlei

Same code:
for 5.0.0-alpha.20 => https://prnt.sc/wfrzji
for 5.0.0-alpha.21 => https://prnt.sc/wfrwf6

style override can not replace if without !important

expect it to be like this:

Style override above and style default root below.

Plese hellp me, Thank!

@mtr1990 mtr1990 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 4, 2021
@mnajdova
Copy link
Member

mnajdova commented Jan 4, 2021

Duplicate of #24109

@mnajdova mnajdova marked this as a duplicate of #24109 Jan 4, 2021
@mnajdova mnajdova closed this as completed Jan 4, 2021
@github-actions github-actions bot added the duplicate This issue or pull request already exists label Jan 4, 2021
@mtr1990
Copy link
Author

mtr1990 commented Jan 4, 2021

Looks like the problem has been resolved,
In the new version, I missed out StylesProvider injectFirst

Thanks!

@oliviertassinari oliviertassinari removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants