make icon bigger

This commit is contained in:
Proddy
2023-04-28 15:46:37 +02:00
parent 28252b987b
commit dd25900af4

View File

@@ -6,12 +6,8 @@ import type { FC } from 'react';
import { PROJECT_NAME } from 'api/env'; import { PROJECT_NAME } from 'api/env';
const LayoutDrawerLogo = styled('img')(({ theme }) => ({ const LayoutDrawerLogo = styled('img')(({ theme }) => ({
[theme.breakpoints.down('sm')]: {
height: 24,
marginRight: theme.spacing(2)
},
[theme.breakpoints.up('sm')]: { [theme.breakpoints.up('sm')]: {
height: 36, height: 38,
marginRight: theme.spacing(2) marginRight: theme.spacing(2)
} }
})); }));
@@ -27,9 +23,7 @@ const LayoutDrawer: FC<LayoutDrawerProps> = ({ mobileOpen, onClose }) => {
<Toolbar disableGutters> <Toolbar disableGutters>
<Box display="flex" alignItems="center" px={2}> <Box display="flex" alignItems="center" px={2}>
<LayoutDrawerLogo src="/app/icon.png" alt={PROJECT_NAME} /> <LayoutDrawerLogo src="/app/icon.png" alt={PROJECT_NAME} />
<Typography variant="h6" color="textPrimary"> <Typography variant="h6">{PROJECT_NAME}</Typography>
{PROJECT_NAME}
</Typography>
</Box> </Box>
<Divider absolute /> <Divider absolute />
</Toolbar> </Toolbar>