Skip to content

Commit

Permalink
fix: 宽度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanzhaoyu authored and xiehui committed Apr 7, 2023
1 parent e45a7de commit 1949960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/chat/components/Message/Text.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ defineExpose({ textRef })
<div class="text-black" :class="wrapClass">
<div ref="textRef" class="leading-relaxed break-words">
<div v-if="!inversion" class="flex items-end">
<div v-if="!asRawText" class="markdown-body" v-html="text" />
<div v-else class="whitespace-pre-wrap" v-text="text" />
<div v-if="!asRawText" class="w-full markdown-body" v-html="text" />
<div v-else class="w-full whitespace-pre-wrap" v-text="text" />
<span v-if="loading" class="dark:text-white w-[4px] h-[20px] block animate-blink" />
</div>
<div v-else class="whitespace-pre-wrap" v-text="text" />
Expand Down

0 comments on commit 1949960

Please sign in to comment.