Skip to content

Commit 3cb9997

Browse files
committed
fix: limit width of generated message
1 parent e584fd5 commit 3cb9997

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

custom/Message.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<template>
22
<div
3-
class="max-w-[80%] flex px-4 m-2 rounded-xl border border-gray-200 dark:border-gray-700"
3+
class="max-w-[80%] flex px-4 py-2 m-2 rounded-xl border border-gray-200 dark:border-gray-700"
44
@click="handleMarkdownLinkClick"
55
:class="props.role === 'user' ? 'bg-lightListTableHeading dark:bg-darkListTableHeading self-end'
66
: isTypeReasoning || isTypeToolCall ? 'bg-transparent border-none self-start'
77
: 'bg-blue-100 dark:bg-blue-700/10 self-start'"
88
>
99
<IncremarkContent
10-
class="text-wrap break-words"
10+
class="text-wrap break-words max-w-full"
1111
v-if="content && props.type === 'text'"
1212
:content="content"
1313
:is-finished="isFinished"

0 commit comments

Comments
 (0)