fix: msg in reply auto wrap

This commit is contained in:
Tristan Yang
2023-06-20 10:51:26 +08:00
parent f0bc36b71d
commit f07be4c820
+1 -1
View File
@@ -16,7 +16,7 @@ const renderContent = (data: MessagePayload) => {
switch (content_type) {
case ContentTypes.text:
res = (
<span className="max-w-lg md:truncate md:break-words md:break-all text-gray-800 dark:text-gray-100">
<span className="max-w-3xl md:break-words md:break-all text-gray-800 dark:text-gray-100 whitespace-break-spaces">
<LinkifyText
text={content as string}
url={false}