Fix bug with page going all the way to top, while toggling mobile navigation menu.

This commit is contained in:
Dorian Niemiec 2024-07-29 20:41:01 +02:00
parent 022fafd3fd
commit 2b24b774c4
2 changed files with 1 additions and 3 deletions

View file

@ -40,7 +40,7 @@ export default function PageLayout({
return (
<main className="flex flex-col min-h-screen">
<Navbar />
<div className="flex-grow flex-1">{children}</div>
<div className="flex-grow flex-1 overflow-x-hidden">{children}</div>
<Footer />
</main>
);

View file

@ -6,12 +6,10 @@ html {
height: 100%;
width: 100%;
font-family: "Poppins", sans-serif;
overflow-x: hidden;
}
body {
user-select: text;
overflow-x: clip;
}
* {