Skip to content

Commit 1f97d5a

Browse files
committed
fix(ui): fix landing overflow on small screens
1 parent 86b8e6d commit 1f97d5a

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

apps/web/app/page.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ import { Header } from "@/components/home/header";
55
import { HeroSection } from "@/components/home/hero";
66

77
const Page = () => (
8-
<div className="flex w-full items-center justify-center">
9-
<div className="dark flex min-h-screen w-full flex-col bg-background">
10-
<Header />
11-
<main>
12-
<HeroSection />
13-
<FeaturesSection />
14-
<DemoSection />
15-
<Footer />
16-
</main>
17-
</div>
8+
<div className="dark flex min-h-screen w-full flex-col bg-background">
9+
<Header />
10+
<main>
11+
<HeroSection />
12+
<FeaturesSection />
13+
<DemoSection />
14+
<Footer />
15+
</main>
1816
</div>
1917
);
2018

apps/web/components/home/hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const HeroSection = () => {
3333
)`;
3434

3535
return (
36-
<section className="container-landing group relative py-16">
36+
<section className="container-landing group relative overflow-x-hidden py-16">
3737
<div className="border border-white/10">
3838
<div className="grid h-32 grid-cols-12 border-white/10 border-b">
3939
{/* Top Left: Fan/Perspective Pattern */}

0 commit comments

Comments
 (0)