From 7361a35c94df8674181f85d0d1f2a5527d8e2b9f Mon Sep 17 00:00:00 2001 From: faria-karim-porna Date: Fri, 13 Oct 2023 00:00:32 +0000 Subject: [PATCH] Fix the font size and alignment of all the chat options of the sidebar based on issue #586 Fix the font size and alignment of all the chat options of the sidebar based on issue #586 --- frontend/src/Navigation.tsx | 2 +- frontend/src/conversation/ConversationTile.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/Navigation.tsx b/frontend/src/Navigation.tsx index e236b8a3..ceb146a9 100644 --- a/frontend/src/Navigation.tsx +++ b/frontend/src/Navigation.tsx @@ -229,7 +229,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) { } > -

New Chat

+

New Chat

{conversations diff --git a/frontend/src/conversation/ConversationTile.tsx b/frontend/src/conversation/ConversationTile.tsx index 592c52b2..0db3f1b3 100644 --- a/frontend/src/conversation/ConversationTile.tsx +++ b/frontend/src/conversation/ConversationTile.tsx @@ -68,7 +68,7 @@ export default function ConversationTile({ onClick={() => { selectConversation(conversation.id); }} - className={`my-auto mx-4 mt-4 flex h-12 cursor-pointer items-center justify-between gap-4 rounded-3xl hover:bg-gray-100 ${ + className={`my-auto mx-4 mt-4 flex h-9 cursor-pointer items-center justify-between gap-4 rounded-3xl hover:bg-gray-100 ${ conversationId === conversation.id ? 'bg-gray-100' : '' }`} > @@ -77,7 +77,7 @@ export default function ConversationTile({ conversationId === conversation.id ? 'w-[75%]' : 'w-[95%]' } gap-4`} > - + {isEdit ? (