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

Decorator Adding Extra Div #133

Open
mcclayton opened this issue Jan 22, 2022 · 2 comments
Open

Decorator Adding Extra Div #133

mcclayton opened this issue Jan 22, 2022 · 2 comments

Comments

@mcclayton
Copy link

Does the decorator need to add an additional div as part of the decorator here:

This is causing issues for stories that need to have 100% height.

@mcclayton
Copy link
Author

mcclayton commented Jan 22, 2022

Solved this by adding extra css for my storybook:

#root > div {
  height: 100%;
}

but would still be nice not to have the extra div if it can be avoided. Feel free to close if it can't be avoided.

@usulpro
Copy link
Member

usulpro commented Jan 23, 2022

Thanks for spotting this. Let's remove it indeed!

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

No branches or pull requests

2 participants