fix: controlling word breaks (#3952)

This commit is contained in:
Faisal Amir 2024-11-05 16:14:35 +07:00 committed by GitHub
parent 92906ea2fa
commit 23764caedf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -283,7 +283,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
) : ( ) : (
<div <div
className={twMerge( className={twMerge(
'message max-width-[100%] flex flex-col gap-y-2 overflow-auto leading-relaxed' 'message max-width-[100%] flex flex-col gap-y-2 overflow-auto break-all leading-relaxed '
)} )}
dangerouslySetInnerHTML={{ __html: parsedText }} dangerouslySetInnerHTML={{ __html: parsedText }}
/> />