Skip to content

Commit 06cba7c

Browse files
committed
docs(storybook): make story 100% height
1 parent f5047a0 commit 06cba7c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.storybook/decorators/withGlobalStyle.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ const GlobalStyle = createGlobalStyle`
2020
font-weight: bold;
2121
font-style: normal
2222
}
23+
html, body, #root {
24+
height: 100%;
25+
}
26+
#root > * {
27+
height: 100%;
28+
box-sizing: border-box;
29+
}
2330
body {
2431
font-family: 'ms_sans_serif', 'sans-serif';
2532
}

0 commit comments

Comments
 (0)