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 (
|
||||
<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>
|
||||
);
|
||||
|
|
|
@ -6,12 +6,10 @@ html {
|
|||
height: 100%;
|
||||
width: 100%;
|
||||
font-family: "Poppins", sans-serif;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
user-select: text;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
* {
|
||||
|
|
Loading…
Reference in a new issue