We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6a3d6 commit 9227893Copy full SHA for 9227893
src/views/chat/components/Message/Text.vue
@@ -72,7 +72,7 @@ defineExpose({ textRef })
72
<div ref="textRef" class="leading-relaxed break-words">
73
<div v-if="!inversion">
74
<div v-if="!asRawText" class="markdown-body" v-html="text" />
75
- <div v-else class="raw-text" v-text="text" />
+ <div v-else class="whitespace-pre-wrap" v-text="text" />
76
</div>
77
<div v-else class="whitespace-pre-wrap" v-text="text" />
78
src/views/chat/components/Message/style.less
@@ -62,7 +62,7 @@
62
html.dark {
63
64
.message-reply {
65
- .raw-text {
+ .whitespace-pre-wrap {
66
white-space: pre-wrap;
67
color: var(--n-text-color);
68
}
0 commit comments