Fix break words for longer message contents

This commit is contained in:
Justin 2022-10-03 11:14:13 -04:00
parent 89af43df91
commit f029c81d5f

View file

@ -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,
})