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'm using Storybook version 7.x with Vue.js. My component relies on a root font-size of 625% for its rem calculations...
When I set the root font-size within my component's story (adding preview-body.html, and set html font-size to 625%), it affects the entire preview iframe. I only want the font-size change to apply to my component's
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using Storybook version 7.x with Vue.js. My component relies on a root font-size of 625% for its rem calculations...
When I set the root font-size within my component's story (adding
preview-body.html
, and set html font-size to 625%), it affects the entire preview iframe. I only want the font-size change to apply to my component'sIs any way to achieve this goal?
Beta Was this translation helpful? Give feedback.
All reactions