From 5eaafb07a1346fc7112396e52c5219fd0b1846e6 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 4 Dec 2024 18:39:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=98=E5=8E=9Fmarkdown=E8=A1=8C?= =?UTF-8?q?=E9=AB=98=E9=99=90=E5=88=B6=EF=BC=8C=E6=81=A2=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ai-chat/component/prologue-content/index.vue | 6 ++---- ui/src/components/markdown/MdRenderer.vue | 2 +- ui/src/styles/md-editor.scss | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ui/src/components/ai-chat/component/prologue-content/index.vue b/ui/src/components/ai-chat/component/prologue-content/index.vue index 433e0ca3d..75d70477d 100644 --- a/ui/src/components/ai-chat/component/prologue-content/index.vue +++ b/ui/src/components/ai-chat/component/prologue-content/index.vue @@ -6,7 +6,7 @@
- +
@@ -32,6 +32,4 @@ const prologue = computed(() => { return temp?.replace(/-\s.+/g, toQuickQuestion) }) - + diff --git a/ui/src/components/markdown/MdRenderer.vue b/ui/src/components/markdown/MdRenderer.vue index 5fc7d34f2..bc2f90709 100644 --- a/ui/src/components/markdown/MdRenderer.vue +++ b/ui/src/components/markdown/MdRenderer.vue @@ -3,7 +3,7 @@
diff --git a/ui/src/styles/md-editor.scss b/ui/src/styles/md-editor.scss index 86e385698..06a6ab887 100644 --- a/ui/src/styles/md-editor.scss +++ b/ui/src/styles/md-editor.scss @@ -7,8 +7,6 @@ font-size: inherit; p { padding: 0 !important; - margin: 0 !important; - line-height: 22px !important; } .md-editor-admonition { margin: 0;