Skip to content

Commit ef364b6

Browse files
authored
Add width/height: 100% styles in Storybook preview (#1834)
1 parent 6824d66 commit ef364b6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

webview/.storybook/preview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { InternalVsCodeApi } from '../src/shared/api'
22
import { action } from '@storybook/addon-actions'
33
import { viewports } from '../src/stories/util'
4+
import './styles.scss'
45

56
declare global {
67
interface Window {

webview/.storybook/styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#root {
2+
width: 100%;
3+
height: 100%;
4+
}

0 commit comments

Comments
 (0)