🐛 fix: home page & logo style issue

This commit is contained in:
MartialBE 2024-01-08 21:29:18 +08:00 committed by Buer
parent b3f1b5953c
commit eaedd255ef
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ const MinimalLayout = () => {
<Header /> <Header />
</Toolbar> </Toolbar>
</AppBar> </AppBar>
<Box sx={{ flex: '1 1 auto', overflow: 'auto' }} paddingTop={'64px'}> <Box sx={{ flex: '1 1 auto', overflow: 'auto' }} marginTop={'80px'}>
<Outlet /> <Outlet />
</Box> </Box>
<Box sx={{ flex: 'none' }}> <Box sx={{ flex: 'none' }}>

View File

@ -15,7 +15,7 @@ import { useSelector } from 'react-redux';
const Logo = () => { const Logo = () => {
const siteInfo = useSelector((state) => state.siteInfo); const siteInfo = useSelector((state) => state.siteInfo);
return <img src={siteInfo.logo || logo} alt={siteInfo.system_name} width="80" />; return <img src={siteInfo.logo || logo} alt={siteInfo.system_name} height="50" />;
}; };
export default Logo; export default Logo;