Skip to content

Commit a2f27a7

Browse files
committed
Changed padding
1 parent 80e7bcd commit a2f27a7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

frontend_new/src/components/FrontPageInfo.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ const image_size= {
1010
width: 560,
1111
}
1212

13-
1413
const useStyles = makeStyles((theme) => ({
1514
paper: {
16-
paddingLeft: theme.spacing(45), //grid padding
17-
paddingBottom: theme.spacing(3), //grid padding
15+
paddingLeft: theme.spacing(45),
16+
paddingBottom: theme.spacing(4),
17+
paddingTop: theme.spacing(3),
1818
},
1919
}));
2020

@@ -29,14 +29,15 @@ export default function FrontPageInfo() {
2929
direction="row"
3030
spacing={3}
3131
>
32-
<Grid item xs={12}></Grid>
33-
<Grid item xs={12} lg={12}>
32+
<Grid item xs={12}>
3433
<Box className={classes.paper} >
35-
{theme.palette.type === "dark" ? (<a><img style= {image_size} src={darkLogo} alt="Dark Logo"/></a>) :
34+
{theme.palette.type === "dark" ?
35+
(<a><img style= {image_size} src={darkLogo} alt="Dark Logo"/></a>) :
3636
(<a><img style= {image_size} src={mainLogo} alt="Light Logo"/></a>)}
37-
3837
</Box>
38+
3939
</Grid>
40+
4041
</Grid>
4142
);
4243
}

0 commit comments

Comments
 (0)