ChatListItem: restrict height of last_message content

This commit is contained in:
Alex Gleason
2022-09-22 14:58:31 -05:00
parent 2e728d99f9
commit 46d309ae45

View File

@ -38,7 +38,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ 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 }}
/>