storybook-addon-material-ui
storybook-addon-material-ui copied to clipboard
Decorator Adding Extra Div
Does the decorator need to add an additional div as part of the decorator here:
https://github.com/react-theming/storybook-addon-material-ui/blob/b0ac1c444bd33212d693af182ac6fed1b069c3db/src/UI/MuiDecorator.js#L19
This is causing issues for stories that need to have 100% height.
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.
Thanks for spotting this. Let's remove it indeed!