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
Describe the bug
There are global tag styles inside stories’ iframes that cascade on the previewed components. I am guessing the styles potentially are coming from this file.
To Reproduce
I have a component that uses <section> tag: repro repo. It doesn’t render correctly because the Storybook’s global <section> styles are cascading on the component styles.
Describe the bug
There are global tag styles inside stories’
iframe
s that cascade on the previewed components. I am guessing the styles potentially are coming from this file.To Reproduce
I have a component that uses
<section>
tag: repro repo. It doesn’t render correctly because the Storybook’s global<section>
styles are cascading on the component styles.System
Is it possible to encapsulate styling by replacing tag styling with class styling (eg
section
could be.sb-doc-section
) or hashing?The text was updated successfully, but these errors were encountered: