Applying body2 styling to the body element causes weird behavior that can't be overriden #17100
Closed
2 tasks done
Labels
Milestone
Current Behavior 😯
All body2 styling is applied to the body element
Expected Behavior 🤔
Not applying all body2 styling to the body element
Steps to Reproduce 🕹
Steps:
overflow: hidden;
)overflow: hidden;
is applied to the body tagContext 🔦
This issue caused us to have to remove
CssBaseline
that we used because of hidden dependency on body2 typography styling and fall back to specifying css overrides / base styling through styled-components.It would be a good idea to mention this in the documentation in migrating from v3 to v4 article as it's a breaking change.
Your Environment 🌎
The text was updated successfully, but these errors were encountered: