Skip to content

Commit 6aa8123

Browse files
committed
fix: switch from vh to % for preview contents to fix issue with not resizing on control panel height change
1 parent 5fa634f commit 6aa8123

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/component-library/.storybook/storybook.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ body,
66
}
77

88
.contents {
9-
height: 100vh;
10-
min-width: 100vh;
9+
height: 100%;
10+
min-width: 100%;
1111
color: theme.color("foreground");
1212
background: theme.color("background", "primary");
1313
display: grid;

0 commit comments

Comments
 (0)