Skip to content

Commit

Permalink
chore: update result style
Browse files Browse the repository at this point in the history
  • Loading branch information
KeJunMao committed Mar 21, 2023
1 parent bffdd4d commit 5aa908a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/tool/ToolChatItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ const { data, status } = useSession();
</el-avatar>
</div>
<Card w-full relative>
<div text-base prose dark:prose-invert v-html="resultHtml"></div>
<div text-base prose dark:prose-invert max-w-full>
<div v-html="resultHtml"></div>
</div>
<FadeTransition>
<div
v-show="showTyping"
Expand Down
2 changes: 1 addition & 1 deletion components/tool/ToolResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defineProps<{

<template>
<div text-base w-full>
<div prose dark:prose-invert>
<div prose dark:prose-invert max-w-full>
<div v-html="html"></div>
</div>
</div>
Expand Down

0 comments on commit 5aa908a

Please sign in to comment.