Skip to content

Commit

Permalink
fix: 宽度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanzhaoyu authored and Equim-chan committed Mar 31, 2023
1 parent ebf7139 commit 08ff00c
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 @@ -127,8 +127,8 @@ defineExpose({ inputRef })
</div>
</div>
<div v-else class="flex items-end">
<div v-if="!asRawText && !edit" class="markdown-body" v-html="text" />
<div v-else class="whitespace-pre-wrap" v-text="text" />
<div v-if="!asRawText && !edit" 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>
Expand Down

0 comments on commit 08ff00c

Please sign in to comment.