From dbbbb0ef4ef8ae624818b49c4609f6046358d9b0 Mon Sep 17 00:00:00 2001 From: Pedro Rodrigues Date: Mon, 4 Mar 2024 13:05:56 +0000 Subject: [PATCH] fixed searchbar page overflow --- src/App.tsx | 10 +++++----- src/templates/UnsavedGraphTemplate.tsx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 2c75274..190ac2b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -40,16 +40,16 @@ const App: FC = () => { {/* TODO: Make it so the navbar only opens once the user searches an address. For now it's fine like this. */} {isAuthenticated && } - {/* Unsaved graph without any link sharing. This is the default landing page. */} - } - /> {/* Unsaved graph coming from a link */} } /> + {/* Unsaved graph without any link sharing. This is the default landing page. */} + } + /> {isAuthenticated && ( <> {/* Graph saved by an account and constantly tracked */} diff --git a/src/templates/UnsavedGraphTemplate.tsx b/src/templates/UnsavedGraphTemplate.tsx index f6c8ed7..f53d45f 100644 --- a/src/templates/UnsavedGraphTemplate.tsx +++ b/src/templates/UnsavedGraphTemplate.tsx @@ -119,7 +119,7 @@ const UnsavedGraphTemplate: FC = ({ title="Graph" description="Creating the next-gen of crypto compliance" /> -
+
{isAuthenticated ? null : } = ({ leave="transition-all duration-500" leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-50" - className="absolute flex h-full w-full flex-col items-center justify-center overflow-x-hidden no-scrollbar" + className="flex h-full w-full flex-col items-center justify-center overflow-x-hidden no-scrollbar" > {