Skip to content

Commit 5f0b7ee

Browse files
committed
fix: adjust spacing
1 parent 1be85da commit 5f0b7ee

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ const createTheme = (dark: boolean) => createMuiTheme({
4141

4242
const useStyles = makeStyles(theme => ({
4343
head: {
44-
marginTop: theme.spacing(3),
4544
marginBottom: theme.spacing(2)
4645
},
4746
select: {

src/components/Layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ type Props = {
2626
};
2727

2828
const useStyles = makeStyles(theme => ({
29+
content: {
30+
paddingTop: theme.spacing(3),
31+
paddingBottom: theme.spacing(3)
32+
},
2933
icon: {
3034
marginRight: theme.spacing(2)
3135
},
@@ -117,7 +121,9 @@ function Layout(props: Props) {
117121
</Snackbar>
118122
))}
119123

120-
{props.children}
124+
<div className={classes.content}>
125+
{props.children}
126+
</div>
121127
</>
122128
);
123129
}

0 commit comments

Comments
 (0)