Skip to content

Commit cb2a17e

Browse files
committed
remove extra space before first post
1 parent fae4984 commit cb2a17e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/Header.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ function Header({gitHub, adminLinks}) {
1515
<Box margin="medium" style={{position: 'absolute', top: 0, right: 0}}>
1616
<Avatar gitHub={gitHub} adminLinks={adminLinks} />
1717
</Box>
18-
<PostBox>
18+
<Box
19+
pad={{horizontal: 'medium'}}
20+
style={{
21+
maxWidth: 704,
22+
width: '100%',
23+
}}>
1924
<Box
20-
pad={{horizontal: 'medium'}}
25+
style={{maxWidth: 704, width: '100%'}}
26+
pad={{top: 'medium', horizontal: 'medium'}}
2127
border={{
2228
size: 'xsmall',
2329
side: 'bottom',
@@ -40,7 +46,7 @@ function Header({gitHub, adminLinks}) {
4046
</Link>
4147
</Heading>
4248
</Box>
43-
</PostBox>
49+
</Box>
4450
</>
4551
);
4652
}

0 commit comments

Comments
 (0)