From 46d309ae4580e9a5d1a866a1a2f2f86560979073 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 22 Sep 2022 14:58:31 -0500 Subject: [PATCH] ChatListItem: restrict height of last_message content --- app/soapbox/features/chats/components/chat-list-item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/chats/components/chat-list-item.tsx b/app/soapbox/features/chats/components/chat-list-item.tsx index e600f9859..5b9571870 100644 --- a/app/soapbox/features/chats/components/chat-list-item.tsx +++ b/app/soapbox/features/chats/components/chat-list-item.tsx @@ -38,7 +38,7 @@ const ChatListItem: React.FC = ({ chat, chatSilence, onC weight='medium' theme='muted' truncate - className='w-full truncate-child pointer-events-none' + className='w-full h-5 truncate-child pointer-events-none' data-testid='chat-last-message' dangerouslySetInnerHTML={{ __html: chat.last_message?.content }} />