fix: scrolling is back lol

This commit is contained in:
seaznCode 2025-10-03 21:11:07 +02:00
parent fc624522f5
commit 0cb174bd21
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ export default function PageLayout({
const isMobile = isMobileDevice(); const isMobile = isMobileDevice();
return ( return (
<div className="h-screen w-full flex flex-col relative bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100 transition-colors m-0 p-0 overflow-hidden"> <div className="min-h-screen w-full flex flex-col relative bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100 transition-colors m-0 p-0">
{showHeader && ( {showHeader && (
<div className="relative z-50 w-full"> <div className="relative z-50 w-full">
@ -34,7 +34,7 @@ export default function PageLayout({
)} )}
{/* Main content */} {/* Main content */}
<div className="flex-1 relative z-10 w-full flex flex-col m-0 p-0"> <div className="flex-1 relative z-10 w-full flex flex-col">
{children} {children}
</div> </div>

View File

@ -6,7 +6,7 @@ export default function HomePage() {
{/* Hero Section */} {/* Hero Section */}
<section <section
id="hero" id="hero"
className="relative isolate flex flex-col h-screen overflow-hidden" className="relative isolate flex flex-col min-h-screen"
> >
{/* ...existing code (pattern SVG + blurred polygon) ... */} {/* ...existing code (pattern SVG + blurred polygon) ... */}
<svg <svg