-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
[TreeView] TreeItem label is two levels of specificity instead of one #12284
Comments
👋 Thanks for using Material-UI! We use GitHub issues exclusively as a bug and feature requests tracker, however, For support, please check out https://material-ui.com/getting-started/support/. Thanks! If you have a question on StackOverflow, you are welcome to link to it here, it might help others. |
tip: check the CSS specificity of your selector ( |
Actually, @mnajdova would it be worth flattening? I wonder, not sure. |
Sorry, missing something, but this is the code generated by the TreeItem component (.css-ehlda4-MuiTreeItem-content .MuiTreeItem-label). I'd expect the css rule label to work as it is doing in v4. The example we put here is using the Google TreeItem example Material-UI (actually check the difference between the same example between v5 and v4). br, |
Agree, we should re-implement the |
How did we do @david-ic3? |
Some styles applied to TreeItem label are not applied (the class order is wrong).
You can check the example : https://codesandbox.io/s/gmailtreeview-material-demo-forked-s6z3q
font size should be 45px.
Tested on alpha.29, thank you very much for doing Material-UI ❤️
Search keywords:
The text was updated successfully, but these errors were encountered: