Browse Source

fix: switch from vh to % for preview contents to fix issue with not resizing on control panel height change

Aaron Bassett 5 months ago
parent
commit
6aa8123172
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/component-library/.storybook/storybook.module.scss

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

@@ -6,8 +6,8 @@ body,
 }
 
 .contents {
-  height: 100vh;
-  min-width: 100vh;
+  height: 100%;
+  min-width: 100%;
   color: theme.color("foreground");
   background: theme.color("background", "primary");
   display: grid;