storybook/docs/snippets/common/storybook-preview-body-font-size.html.mdx
Fedor Semenov e53169dd88
Update storybook-preview-body-font-size.html.mdx
rem values are relative to the root html element, not the body. see https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#rems
2021-05-12 12:34:21 +03:00

10 lines
102 B
Plaintext

```html
<!-- .storybook/preview-body.html -->
<style>
html {
font-size: 15px;
}
</style>
```