From c785dfa47b8a45674297b91bafb4c34d6eed7f7a Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 31 Dec 2024 14:24:28 +0800 Subject: [PATCH] fix: Optimize style --- .../ai-chat/ExecutionDetailDialog.vue | 4 --- .../ai-chat/ParagraphSourceDialog.vue | 4 +-- .../ai-chat/component/ParagraphCard.vue | 25 +++++++++++++++---- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index 870868dd1..11e3f1b46 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -624,10 +624,6 @@ defineExpose({ open }) @media only screen and (max-width: 768px) { .execution-details-dialog { width: 90% !important; - - .footer-content { - display: block; - } } } diff --git a/ui/src/components/ai-chat/ParagraphSourceDialog.vue b/ui/src/components/ai-chat/ParagraphSourceDialog.vue index 9b0bbefeb..dffb10d41 100644 --- a/ui/src/components/ai-chat/ParagraphSourceDialog.vue +++ b/ui/src/components/ai-chat/ParagraphSourceDialog.vue @@ -79,9 +79,7 @@ defineExpose({ open }) @media only screen and (max-width: 768px) { .paragraph-source { width: 90% !important; - .footer-content { - display: block; - } + } } diff --git a/ui/src/components/ai-chat/component/ParagraphCard.vue b/ui/src/components/ai-chat/component/ParagraphCard.vue index 9ea77f216..f133e2278 100644 --- a/ui/src/components/ai-chat/component/ParagraphCard.vue +++ b/ui/src/components/ai-chat/component/ParagraphCard.vue @@ -17,7 +17,7 @@ @@ -77,6 +77,13 @@ const parsedMeta = computed(() => { const meta = computed(() => (isMetaObject.value ? props.data.meta : parsedMeta.value))