From 4f8beda48636a10aa4c539b9d4547fe5e437b302 Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Thu, 13 Mar 2025 09:36:26 +0000 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(Page):=20adjust?= =?UTF-8?q?=20maxWidth=20for=20mobile=20screens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/templates/Page/Page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/templates/Page/Page.tsx b/src/components/templates/Page/Page.tsx index 213d888..1793612 100644 --- a/src/components/templates/Page/Page.tsx +++ b/src/components/templates/Page/Page.tsx @@ -51,12 +51,10 @@ const Page: React.FC = ({ title, children, ...props }) => { mb: 4, minHeight: '80vh', mx: 'auto', - maxWidth: 'calc(100% - 4em)', + maxWidth: { xs: '100%', md: 'calc(100% - 4em)' }, width: '70em', ...props.sx, }}> - {/* Children is included in props */} - {children}