Skip to content

Commit 5c697da

Browse files
Merge branch 'pr@main@feat_delete_chat'
2 parents 4c1fcba + 3ed8b0b commit 5c697da

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ui/src/components/ai-chat/ParagraphSourceDialog.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
append-to-body
88
align-center
99
>
10-
<div class="paragraph-source-height">
10+
<div class="mb-8">
1111
<el-scrollbar>
12-
<div class="p-16">
12+
<div class="paragraph-source-height p-16 pb-0">
1313
<el-form label-position="top">
1414
<el-form-item label="用户问题">
1515
<el-input v-model="detail.problem_text" disabled />
@@ -108,7 +108,7 @@ defineExpose({ open })
108108
padding: 8px !important;
109109
}
110110
.paragraph-source-height {
111-
height: calc(100vh - 260px);
111+
max-height: calc(100vh - 260px);
112112
}
113113
.paragraph-source-card {
114114
height: 260px;

ui/src/components/card-add/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ defineProps({
2727
border: 1px dashed var(--el-border-color);
2828
background: #eff0f1;
2929
border-radius: 8px;
30+
box-sizing: border-box;
3031
3132
.add-icon {
3233
font-size: 14px;

ui/src/views/paragraph/index.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<template>
22
<LayoutContainer back-to="-1" class="document-detail">
33
<template #header>
4-
<div style="width: 80%">
4+
<div style="width: 78%">
55
<h3 style="display: inline-block">{{ documentDetail?.name }}</h3>
66
<el-text type="info" v-if="documentDetail?.type === '1'"
7-
>(文档地址:<el-link :href="documentDetail?.meta?.source_url" target="_blank">{{
8-
documentDetail?.meta?.source_url
9-
}}</el-link
7+
>(文档地址:<el-link :href="documentDetail?.meta?.source_url" target="_blank">
8+
<span class="break-all">{{ documentDetail?.meta?.source_url }} </span></el-link
109
>)
1110
</el-text>
1211
</div>

0 commit comments

Comments
 (0)