File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ export default function Stories() {
42
42
< StorySidebar />
43
43
44
44
{ story . isLoading ? (
45
- < VerticalScroll style = { { gridArea : 'body' } } >
45
+ < VerticalScroll >
46
46
< LoadingIndicator />
47
47
</ VerticalScroll >
48
48
) : story . isError ? (
49
- < VerticalScroll style = { { gridArea : 'body' } } >
49
+ < VerticalScroll >
50
50
< Alert . Container >
51
51
< Alert type = "error" showIcon >
52
52
< strong > { story . error . name } :</ strong > { story . error . message }
@@ -60,7 +60,7 @@ export default function Stories() {
60
60
} ) }
61
61
</ StoryMainContainer >
62
62
) : (
63
- < VerticalScroll style = { { gridArea : 'body' } } >
63
+ < VerticalScroll >
64
64
< strong > The file you selected does not export a story.</ strong >
65
65
</ VerticalScroll >
66
66
) }
@@ -98,6 +98,10 @@ const HeaderContainer = styled('header')`
98
98
const VerticalScroll = styled ( 'main' ) `
99
99
overflow-x: visible;
100
100
overflow-y: auto;
101
+
102
+ grid-row: 1;
103
+ grid-column: 2;
104
+ padding: ${ space ( 2 ) } ;
101
105
` ;
102
106
103
107
const StoryMainContainer = styled ( 'div' ) `
You can’t perform that action at this time.
0 commit comments