Skip to content

Commit 841e093

Browse files
authored
Merge pull request #1330 from w3bdesign/1329-fix-design
Fix design
2 parents 4d8bda7 + 58588fc commit 841e093

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/components/Index/Hero.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const Hero = () => (
77
<section
88
id="hero"
9-
className="flex w-full mx-auto bg-right bg-cover mt-14 md:pt-0 md:items-center bg-hero-background h-[24rem]"
9+
className="flex w-full mx-auto bg-right bg-cover mt-14 md:pt-0 md:items-center bg-hero-background h-[24rem] lg:max-w-[1490px]"
1010
>
1111
<div className="container mx-auto">
1212
<div className="flex flex-col items-start justify-center w-full px-6 tracking-wide lg:w-1/2">

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] sm:min-w-[100vw] md:px-4 lg:px-6 py-2 lg:max-w-[1600px] 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)