fix: improve mobile container size on small devices (#1738)

This commit is contained in:
Corey Vaillancourt
2026-03-24 20:03:20 -04:00
committed by GitHub
parent 1fb1e538ce
commit ccd072fe02

View File

@@ -50,11 +50,11 @@ export function Root({ children }: { children?: React.ReactNode }) {
disableGutters
maxWidth="xl"
sx={{
mt: 4,
mt: [2, 4],
mb: ['56px', 4],
px: [undefined, 5],
px: [2, 5],
pb: [4, undefined],
maxWidth: 'calc(100vw - 240px)',
maxWidth: { xs: '100vw', sm: 'calc(100vw - 240px)' },
flexGrow: 1,
}}
>