♻️ refactor(Page): adjust maxWidth for mobile screens

This commit is contained in:
2025-03-13 09:36:26 +00:00
parent 4f395d64d1
commit 4f8beda486
+1 -3
View File
@@ -51,12 +51,10 @@ const Page: React.FC<BoxProps> = ({ title, children, ...props }) => {
mb: 4, mb: 4,
minHeight: '80vh', minHeight: '80vh',
mx: 'auto', mx: 'auto',
maxWidth: 'calc(100% - 4em)', maxWidth: { xs: '100%', md: 'calc(100% - 4em)' },
width: '70em', width: '70em',
...props.sx, ...props.sx,
}}> }}>
{/* Children is included in props */}
{children} {children}
</Container> </Container>
<Footer /> <Footer />