Skip to content

Commit 5dedcec

Browse files
committed
fix: bug fix
1 parent 32b1748 commit 5dedcec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/views/chat/ChatRow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ withDefaults(
2222
<logo_fold v-if="!hideAvatar" />
2323
</el-icon>
2424
</div>
25-
<div :class="{ 'row-full': msg.role === 'assistant' }">
25+
<div style="width: 100%" :class="{ 'row-full': msg.role === 'assistant' }">
2626
<slot></slot>
2727
</div>
2828
</div>

frontend/src/views/chat/chat-block/UserChat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function clickPredict() {
2323
<span v-else-if="message?.record?.predict_record_id" class="prefix-title" @click="clickPredict">
2424
{{ t('qa.data_predict') }}
2525
</span>
26-
<span>{{ message?.content }}</span>
26+
<span style="width: 100%">{{ message?.content }}</span>
2727
</div>
2828
</template>
2929

0 commit comments

Comments
 (0)