Addon-docs: list style bleeds on stories components
See original GitHub issueDescribe the bug
Using addon-docs to showcase material powered Menu, I get an unwanted padding caused by the docs .12345xx ul{padding-left:30px;}
coming from the docs.
To Reproduce
- install addon-docs alpha 8
- show case a component with a ul list in the docs tab
- it’s padding-left will be too big
Expected behavior The style of the docs should not bleed down on the components showcased
Screenshots
System:
- OS: Windows10
- Browser: Mozilla Firefox 67.0 64bits
- Framework: React
- Addons: addon-docs
- Version:5.2.0-alpha8
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
@storybook/addon-docs | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >Storybooking Hooks (as opposed to UI Components)
I am using storybook to demo some react hooks, as opposed to UI components. I am using MDX for the ...
Read more >Compare DocsPage and MDX syntax in Storybook with example
This post compares the DocsPage and MDX syntax to write story of your UI components using Storybook. We will continue with the Card...
Read more >storybookjs/storybook (Raised $170.00) - Issuehunt
[Feature Request]: Demo stories for web components shouldn't include non-standard imports ... [Bug]: MDX styles not working with @storybook/mdx2-csf.
Read more >@storybook/addon-info: Versions | Openbase
Nav UI: Nodes are components only if they contain ALL leaf nodes (#9356) ... Addon-docs: Scroll story into view (#7994); Addon-docs: Fix LI...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s why the issue is still open :trollface:
We’re on it. High priority issue before the full release 👍
Jeepers creepers!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.2.0-beta.32 containing PR #7788 that references this issue. Upgrade today to try it out!
You can find this prerelease on the
@next
NPM tag.