From 212415d5ef1048fd4a2af3c345444209bec1989b Mon Sep 17 00:00:00 2001 From: zaidmukaddam Date: Wed, 4 Sep 2024 22:52:45 +0530 Subject: [PATCH] fix: Adjust position of search bar on mobile devices --- app/search/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/search/page.tsx b/app/search/page.tsx index ede800f..cbb2c1a 100644 --- a/app/search/page.tsx +++ b/app/search/page.tsx @@ -1704,13 +1704,13 @@ export default function Home() { } }} className={` - ${hasSubmitted ? 'fixed bottom-4 left-1/2 transform -translate-x-1/2 max-w-[90%] sm:max-w-2xl' : 'max-w-full'} + ${hasSubmitted ? 'fixed bottom-4 left-1/2 -translate-x-1/2 max-w-[90%] sm:max-w-2xl' : 'max-w-full'} ${attachments.length > 0 || uploadingAttachments.length > 0 ? 'rounded-2xl' : 'rounded-full'} w-full bg-background border border-input overflow-hidden mb-4 transition-all duration-300 ease-in-out - z-50 relative + z-50 `} >
0 || uploadingAttachments.length > 0 ? 'p-2' : 'p-0'}`}>