Fix bug with page going all the way to top, while toggling mobile navigation menu.
This commit is contained in:
parent
022fafd3fd
commit
2b24b774c4
2 changed files with 1 additions and 3 deletions
|
@ -40,7 +40,7 @@ export default function PageLayout({
|
||||||
return (
|
return (
|
||||||
<main className="flex flex-col min-h-screen">
|
<main className="flex flex-col min-h-screen">
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<div className="flex-grow flex-1">{children}</div>
|
<div className="flex-grow flex-1 overflow-x-hidden">{children}</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
|
|
|
@ -6,12 +6,10 @@ html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: "Poppins", sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
overflow-x: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
user-select: text;
|
user-select: text;
|
||||||
overflow-x: clip;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|
Loading…
Reference in a new issue