Procházet zdrojové kódy

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

Aaron Bassett před 5 měsíci
rodič
revize
6aa8123172

+ 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;