From 3ed8b0b72086499c4bc19396248827379a8451ec Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 13 Jun 2024 15:58:36 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/ai-chat/ParagraphSourceDialog.vue | 6 +++--- ui/src/components/card-add/index.vue | 1 + ui/src/views/paragraph/index.vue | 7 +++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/src/components/ai-chat/ParagraphSourceDialog.vue b/ui/src/components/ai-chat/ParagraphSourceDialog.vue index 08388100d..b8de0077b 100644 --- a/ui/src/components/ai-chat/ParagraphSourceDialog.vue +++ b/ui/src/components/ai-chat/ParagraphSourceDialog.vue @@ -7,9 +7,9 @@ append-to-body align-center > -
+
-
+
@@ -108,7 +108,7 @@ defineExpose({ open }) padding: 8px !important; } .paragraph-source-height { - height: calc(100vh - 260px); + max-height: calc(100vh - 260px); } .paragraph-source-card { height: 260px; diff --git a/ui/src/components/card-add/index.vue b/ui/src/components/card-add/index.vue index bdc5b41f7..9d2ef721c 100644 --- a/ui/src/components/card-add/index.vue +++ b/ui/src/components/card-add/index.vue @@ -27,6 +27,7 @@ defineProps({ border: 1px dashed var(--el-border-color); background: #eff0f1; border-radius: 8px; + box-sizing: border-box; .add-icon { font-size: 14px; diff --git a/ui/src/views/paragraph/index.vue b/ui/src/views/paragraph/index.vue index 815e2ca63..1a03dc5a8 100644 --- a/ui/src/views/paragraph/index.vue +++ b/ui/src/views/paragraph/index.vue @@ -1,12 +1,11 @@