Fix break words for longer message contents

environments/review-chats-g56n7m/deployments/1169
Justin 2022-10-03 11:14:13 -04:00
rodzic 89af43df91
commit f029c81d5f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -306,7 +306,7 @@ const ChatMessageList: React.FC<IChatMessageList> = ({ chat, autosize }) => {
title={getFormattedTimestamp(chatMessage)}
className={
classNames({
'text-ellipsis break-words relative rounded-md p-2 max-w-full': true,
'text-ellipsis break-all relative rounded-md p-2 max-w-full': true,
'bg-primary-500 text-white mr-2': isMyMessage,
'bg-gray-200 dark:bg-gray-800 text-gray-900 dark:text-gray-100 order-2 ml-2': !isMyMessage,
})