diff --git a/src/views/chat/components/Message/Text.vue b/src/views/chat/components/Message/Text.vue index 61a11db..0c46a0c 100644 --- a/src/views/chat/components/Message/Text.vue +++ b/src/views/chat/components/Message/Text.vue @@ -72,7 +72,7 @@ defineExpose({ textRef })
-
+
diff --git a/src/views/chat/components/Message/style.less b/src/views/chat/components/Message/style.less index b7fa8b8..0b2bbf8 100644 --- a/src/views/chat/components/Message/style.less +++ b/src/views/chat/components/Message/style.less @@ -62,7 +62,7 @@ html.dark { .message-reply { - .raw-text { + .whitespace-pre-wrap { white-space: pre-wrap; color: var(--n-text-color); }