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
Currently, <Reset> basically adds a CSS class .rt-rest to the wrapped component. The CSS reset ONLY applies if the corresponding component has this class. Therefore, technically speaking, the behavior mentioned here is by design.
However, I would much prefer the reset be done globally, e.g. instead of
The
styles.css
file includes the below snippet, which should reset the margin on<body>
:Expectation
The above snippet would apply to the
<body>
and set margin to 0, when the app is set up in the suggested manner:Actual outcome
The
<body>
has default browser margins, ie the reset is not applied.Workaround
It seems to behave as I expect if I wrap the body with
<Reset>
, but this feels like a hack.Is this the intended way to apply the CSS reset to
<body>
?The text was updated successfully, but these errors were encountered: