Skip to content

Commit 656f8b3

Browse files
committed
Update Layout.component.tsx
1 parent 4d8bda7 commit 656f8b3

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/components/Layout/Layout.component.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,16 @@ const Layout = ({ children, title }: ILayoutProps) => {
5656
}, [refetch]);
5757

5858
return (
59-
<div className="flex flex-col min-h-screen container min-w-[140vw] md:min-w-[700px] md:px-[2.5rem] md:py-[1rem]">
60-
<Header title={title} />
61-
<PageTitle title={title} />
62-
<main className="flex-grow">
63-
{children}
64-
</main>
65-
<Footer />
66-
<Stickynav />
59+
<div className="flex flex-col min-h-screen w-full mx-auto">
60+
<div className="container min-w-[140vw] md:min-w-[700px] md:px-[2.5rem] md:py-[1rem] lg:max-w-[1440px] mx-auto">
61+
<Header title={title} />
62+
<PageTitle title={title} />
63+
<main className="flex-grow">
64+
{children}
65+
</main>
66+
<Footer />
67+
<Stickynav />
68+
</div>
6769
</div>
6870
);
6971
};

0 commit comments

Comments
 (0)