You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use matcha.css for a React app. Usually React-apps are bootstrapped inside a root HTML element that's not the body, which leads to .layout-simple not working.
The basic HTML structure of a React app usually looks more or less like this:
I'd like to use matcha.css for a React app. Usually React-apps are bootstrapped inside a root HTML element that's not the body, which leads to
.layout-simple
not working.The basic HTML structure of a React app usually looks more or less like this:
Rendering without a wrapping
<div>
is strongly discouraged, as third-party libs, extensions or tools may add / change direct children of<body>
.My suggested solution: Changing all
body.layout-simple
selectors to.layout-simple
.Would this be an option? Or is there a deliberate reason to use
body.layout-simple
?The text was updated successfully, but these errors were encountered: