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

[docs] Fix the CSS modules example in the Interoperability page #31935

Merged
merged 1 commit into from
Mar 24, 2022
Merged

[docs] Fix the CSS modules example in the Interoperability page #31935

merged 1 commit into from
Mar 24, 2022

Conversation

WilsonNet
Copy link
Contributor

Fix the CSS Modules example on styling deeper elements.
CSS Modules generate a unique ID for each class, and the previous example wasn't working because it didn't take that into account.

How to test

  1. Go to this Codesandbox example
  2. Erase the ":global" and sees the CSS loses its effect.

Fix the CSS Modules example on styling deeper elements.
CSS Modules generate a unique ID for each class, and the previous example wasn't working because it didn't take that into account.
@WilsonNet WilsonNet changed the title [Docs] - (interoperability): fix css modules example [Docs] - interoperability: fix css modules example Mar 21, 2022
@mui-bot
Copy link

mui-bot commented Mar 21, 2022

No bundle size changes

Generated by 🚫 dangerJS against 6af0e97

@danilo-leal danilo-leal changed the title [Docs] - interoperability: fix css modules example [docs] Fix the CSS modules example in the Interoperability page Mar 22, 2022
@danilo-leal danilo-leal added the docs Improvements or additions to the documentation label Mar 22, 2022
@danilo-leal danilo-leal merged commit fcabced into mui:master Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants