fix: responsive

This commit is contained in:
Sonny
2024-05-29 18:10:17 +02:00
committed by Sonny
parent f2478bcf56
commit e9ccefd938
16 changed files with 183 additions and 52 deletions

View File

@@ -14,6 +14,7 @@ const ContentLayoutStyle = styled(TransitionLayout)(({ theme }) => ({
flexDirection: 'column',
'& main': {
width: '100%',
flex: 1,
},
}));

View File

@@ -4,10 +4,12 @@ import TransitionLayout from '~/components/layouts/_transition_layout';
import BaseLayout from './_base_layout';
const DashboardLayoutStyle = styled(TransitionLayout)(({ theme }) => ({
position: 'relative',
height: '100%',
width: theme.media.medium_desktop,
maxWidth: '100%',
padding: '0.75em 1em',
overflow: 'hidden',
}));
const DashboardLayout = ({ children }: { children: ReactNode }) => (