There was an error while loading. Please reload this page.
1 parent fcab108 commit 419cd29Copy full SHA for 419cd29
1 file changed
ui/src/views/chat/components/Message/Text.vue
@@ -103,13 +103,13 @@ onUnmounted(() => {
103
104
<template>
105
<div :class="wrapClass">
106
- <div ref="textRef" class="leading-relaxed break-words">
+ <div ref="textRef" class="leading-relaxed">
107
<span v-if="props.message?.content === 'loading' && !role" class="loading-box">
108
<span></span>
109
110
111
</span>
112
- <div v-else class="inline-block markdown-body" v-html="text" />
+ <div v-else class="markdown-body flex flex-col" v-html="text" />
113
</div>
114
115
</template>
@@ -157,5 +157,5 @@ onUnmounted(() => {
157
}
158
.loading-box span:nth-child(3){
159
animation-delay: 0.39s;
160
-}
+}
161
</style>
0 commit comments