Skip to content

Commit 98d8bc3

Browse files
committed
Use theme values for spacing
1 parent 67e2dfb commit 98d8bc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function Header() {
5858
alignItems: 'center',
5959
}}
6060
>
61-
<NpmLogo size="32" sx={{display: 'flex', mr: '16px'}} />
61+
<NpmLogo size="32" sx={{display: 'flex', mr: 3}} />
6262
{siteMetadata.title}
6363
</Link>
6464
<Box sx={{display: ['none', null, null, 'block'], ml: 4}}>

src/mdx/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export const Image = styled(RequiredImage)`
304304
`
305305

306306
export const Screenshot = styled(RequiredImage)`
307-
margin-top: 15px;
307+
margin-top: ${themeGet('space.3')};
308308
max-width: min(100%, 525px);
309309
max-height: 300px;
310310
border: 1px solid ${themeGet('colors.border.default')};

0 commit comments

Comments
 (0)