소스 검색

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

Aaron Bassett 5 달 전
부모
커밋
6aa8123172
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;