Skip to content

Commit 4d03be3

Browse files
committed
Padding only on main
1 parent 1b04ce1 commit 4d03be3

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
@@ -56,10 +56,10 @@ const Layout = ({ children, title }: ILayoutProps) => {
5656
}, [refetch]);
5757

5858
return (
59-
<div className="flex flex-col min-h-screen w-full mx-auto px-2 md:px-0">
59+
<div className="flex flex-col min-h-screen w-full mx-auto">
6060
<Header title={title} />
6161
{title === 'Hjem' ? (
62-
<main className="flex-1">{children}</main>
62+
<main className="flex-1 px-2 md:px-0">{children}</main>
6363
) : (
6464
<div className="container mx-auto px-6 flex-1">
6565
<PageTitle title={title} />

0 commit comments

Comments
 (0)