Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add padding to the story decorator

dominik-zeglen85108de728a8
diff --git a/saleor/static/dashboard-next/storybook/Decorator.tsx b/saleor/static/dashboard-next/storybook/Decorator.tsx
index a3639b16c9..c68294d4be 100644
--- a/saleor/static/dashboard-next/storybook/Decorator.tsx
+++ b/saleor/static/dashboard-next/storybook/Decorator.tsx
@@ -15,7 +15,13 @@ export const Decorator = storyFn => (
<MuiThemeProvider theme={theme}>
<CssBaseline />
<MessageManager>
- <div>{storyFn()}</div>
+ <div
+ style={{
+ padding: 24
+ }}
+ >
+ {storyFn()}
+ </div>
</MessageManager>
</MuiThemeProvider>
</TimezoneProvider>