From 2b24b774c41c840d6df561d490e6abfec78659e8 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Mon, 29 Jul 2024 20:41:01 +0200 Subject: [PATCH] Fix bug with page going all the way to top, while toggling mobile navigation menu. --- app/(root)/layout.tsx | 2 +- app/globals.css | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/(root)/layout.tsx b/app/(root)/layout.tsx index c8a4234..05ff627 100644 --- a/app/(root)/layout.tsx +++ b/app/(root)/layout.tsx @@ -40,7 +40,7 @@ export default function PageLayout({ return (
-
{children}
+
{children}
); diff --git a/app/globals.css b/app/globals.css index 95a8b23..578b422 100644 --- a/app/globals.css +++ b/app/globals.css @@ -6,12 +6,10 @@ html { height: 100%; width: 100%; font-family: "Poppins", sans-serif; - overflow-x: hidden; } body { user-select: text; - overflow-x: clip; } * {