From 9e6fe47b4408ed35ed491254b0338c0db001905d Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Tue, 19 Mar 2024 21:39:16 +0530 Subject: [PATCH] fix(hero): not fully scrollable in mobile --- frontend/src/Hero.tsx | 18 +++++++----------- frontend/src/Navigation.tsx | 2 +- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index e14e0cd1f..497fc41e2 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -7,9 +7,7 @@ export default function Hero({ className = '' }: { className?: string }) { const [isDarkTheme] = useDarkTheme(); return (

DocsGPT

@@ -39,16 +37,14 @@ export default function Hero({ className = '' }: { className?: string }) { )}
{/* first */} -
+
{/* Add Mobile check here */} {isMobile ? ( @@ -93,11 +89,11 @@ export default function Hero({ className = '' }: { className?: string }) {
{/* second */} -
+
{/* Add Mobile check here */} {isMobile ? ( @@ -138,7 +134,7 @@ export default function Hero({ className = '' }: { className?: string }) {
{/* third */} -
+
-
+
{conversations && (

Chats