fix: setting page responsiveness

This commit is contained in:
Koosha Lahouti
2025-08-06 11:27:57 -07:00
parent b09d7c96aa
commit 2904aed502
2 changed files with 6 additions and 6 deletions

View File

@@ -65,9 +65,9 @@ export function Setting() {
<Box sx={{ width: '100%', height: 1, bgcolor: 'divider' }} />
<Box
sx={{
width: '100%', // always span full width
px: { xs: 0, sm: 3 }, // no side padding on xs, keep padding on sm+
mx: 0, // zero out any horizontal margin
width: '100%',
px: { xs: 0, sm: 3 },
mx: 0,
}}
>
<CardContainer

View File

@@ -217,9 +217,9 @@ export function Layout() {
)}
<Box
flexGrow={1}
width="auto"
maxWidth={contentMaxWidth}
height={{ xs: 'auto', md: '78vh' }}
width={1070}
maxWidth={1070}
height={{ xs: 'auto', md: '814px' }}
sx={{
bgcolor: 'background.paper',
px: { xs: 2, sm: 3 },