From 7fc732d0d051cf41c2602f6e9202ceb99ed210e7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 31 Aug 2022 12:04:33 -0500 Subject: [PATCH] Chat: fix various overflow issues --- .../features/chats/components/chat.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/app/soapbox/features/chats/components/chat.tsx b/app/soapbox/features/chats/components/chat.tsx index fa559ec5f..d668ae956 100644 --- a/app/soapbox/features/chats/components/chat.tsx +++ b/app/soapbox/features/chats/components/chat.tsx @@ -20,17 +20,17 @@ const Chat: React.FC = ({ chat, onClick }) => { className='px-4 py-2 w-full flex flex-col hover:bg-gray-100 dark:hover:bg-gray-800' > - - + + - -
- {chat.account?.display_name || `@${chat.account.username}`} + +
+ {chat.account?.display_name || `@${chat.account.username}`} {chat.account?.verified && }
{chat.last_message?.content && ( - + {chat.last_message?.content} )} @@ -43,7 +43,12 @@ const Chat: React.FC = ({ chat, onClick }) => {
)} - + )}