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: