Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook re-applies container classes on each HMR update #2

Closed
michael-martin opened this issue Jul 15, 2016 · 0 comments
Closed

Storybook re-applies container classes on each HMR update #2

michael-martin opened this issue Jul 15, 2016 · 0 comments
Labels

Comments

@michael-martin
Copy link
Contributor

All storybook components have been wrapped in Bootstrap grid classes. This allows them to be drawn in the same containers (including on responsive views) that they will be in the real app, and centers them vertically (Which is just nicer in general :) )

Unfortunately, the containers get added recursively each time HMR is applied, so you have to refresh manually instead.

This is due to a bug in Storybook: addDecorator in .storybook/config.js applied multiple times #284

Update our dependency when it is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant