From b5f1a8e90ffd1e08210c3da37603379ab4ef803c Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Wed, 18 Sep 2024 01:44:34 +0530 Subject: [PATCH] fix(mobile): vertical overflows --- frontend/src/App.tsx | 9 +++++---- frontend/src/Hero.tsx | 2 +- frontend/src/conversation/Conversation.tsx | 19 ++++++++++--------- frontend/src/index.css | 14 ++++++++++++-- frontend/src/settings/index.tsx | 6 +++--- 5 files changed, 31 insertions(+), 19 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 63f4ac62..c4f8e8b7 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -16,11 +16,12 @@ inject(); function MainLayout() { const { isMobile } = useMediaQuery(); const [navOpen, setNavOpen] = useState(!isMobile); + return ( -
+
+
}> } /> @@ -45,6 +46,6 @@ export default function App() { } /> } /> - +
); } diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index 8a3d17c8..04da8769 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -19,7 +19,7 @@ export default function Hero({ }>; return (
diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index 01b8a2de..d6568acb 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -191,15 +191,16 @@ export default function Conversation() { }; }, []); return ( -
+
{conversationId && ( <> + {' '}