Skip to content

Commit fe66ad4

Browse files
committed
Revert "Improve design"
This reverts commit c55e59b.
1 parent c55e59b commit fe66ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Layout/Layout.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ const Layout = ({ children, title }: ILayoutProps) => {
5959
<div className="flex flex-col min-h-screen w-full mx-auto">
6060
<Header title={title} />
6161
{title === 'Hjem' ? (
62-
<main className="flex-1 w-full mx-auto px-4 md:px-8 lg:px-12 xl:px-16 2xl:px-32 max-w-[95%]">{children}</main>
62+
<main className="flex-1 px-4 md:px-0">{children}</main>
6363
) : (
64-
<div className="w-full mx-auto px-4 md:px-8 lg:px-12 xl:px-16 2xl:px-32 max-w-[95%] flex-1">
64+
<div className="container mx-auto px-6 flex-1">
6565
<PageTitle title={title} />
6666
<main>{children}</main>
6767
</div>

0 commit comments

Comments
 (0)