Skip to content

Commit 4cb8bd3

Browse files
committed
Update header margins
1 parent 954c05e commit 4cb8bd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mdx-components.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ const components: MDXComponents = {
1010
return <Typography component={'h1'} variant="h4" gutterBottom{...props}>{children}</Typography>;
1111
},
1212
h2: ({ children, ...props }) => {
13-
return <Typography component={'h2'} variant="h5" gutterBottom {...props}>{children}</Typography>;
13+
return <Typography component={'h2'} variant="h5" gutterBottom sx={{mt: 3}} {...props}>{children}</Typography>;
1414
},
1515
h3: ({ children, ...props }) => {
16-
return <Typography component={'h3'} variant="h6" gutterBottom {...props}>{children}</Typography>;
16+
return <Typography component={'h3'} variant="h6" gutterBottom sx={{mt: 2}} {...props}>{children}</Typography>;
1717
},
1818
h4: ({ children, ...props }) => {
19-
return <Typography component={'h4'} variant="h6" fontWeight={400} borderBottom={"black solid 1px"} gutterBottom{...props}>{children}</Typography>;
19+
return <Typography component={'h4'} variant="h6" fontWeight={400} borderBottom={"black solid 1px"} gutterBottom {...props}>{children}</Typography>;
2020
},
2121
h5: ({ children, ...props }) => {
2222
return <Typography component={'h5'} variant="h6" fontWeight={300} gutterBottom {...props}>{children}</Typography>;

0 commit comments

Comments
 (0)