question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Addon-docs: list style bleeds on stories components

See original GitHub issue

Describe 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

  1. install addon-docs alpha 8
  2. show case a component with a ul list in the docs tab
  3. it’s padding-left will be too big

Expected behavior The style of the docs should not bleed down on the components showcased

Screenshots Normal

InTheDocsTab

System:

  • OS: Windows10
  • Browser: Mozilla Firefox 67.0 64bits
  • Framework: React
  • Addons: addon-docs
  • Version:5.2.0-alpha8

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
shilmancommented, Jul 31, 2019

That’s why the issue is still open :trollface:

We’re on it. High priority issue before the full release 👍

0reactions
shilmancommented, Aug 17, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found