From 37d1e220ef2427689fdb2358d540853acabd719b Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 10 Nov 2026 21:32:04 +0800 Subject: [PATCH 1/2] fix: portal style --- ui/src/components/global/markdown-editor/md-editor.scss | 3 +-- .../components/content/items/failure.vue | 2 +- .../components/content/items/question/QuestionEditor.vue | 4 ++-- .../components/content/items/question/index.vue | 2 +- .../components/log-message-list/index.vue | 4 ++-- .../conversation-panel/components/message-list/index.vue | 9 +++++---- ui/src/views/chat/login/index.vue | 8 +++++--- 7 files changed, 17 insertions(+), 15 deletions(-) diff --git a/ui/src/components/global/markdown-editor/md-editor.scss b/ui/src/components/global/markdown-editor/md-editor.scss index 60a473579bb..bfb633a54b0 100644 --- a/ui/src/components/global/markdown-editor/md-editor.scss +++ b/ui/src/components/global/markdown-editor/md-editor.scss @@ -76,7 +76,6 @@ /* Markdown 预览 */ .mk-markdown-editor { .md-editor-preview { - font-size: inherit; margin: 0; padding: 0; word-break: break-word; @@ -98,7 +97,7 @@ p { padding: 0 !important; margin: 0 !important; - line-height: var(--mk-line-height-base) !important; + line-height: 24px; } sup[data-title] { diff --git a/ui/src/conversation-panel/components/content/items/failure.vue b/ui/src/conversation-panel/components/content/items/failure.vue index aac779b9a9c..e05faffc0dc 100644 --- a/ui/src/conversation-panel/components/content/items/failure.vue +++ b/ui/src/conversation-panel/components/content/items/failure.vue @@ -9,7 +9,7 @@ defineProps<{ diff --git a/ui/src/conversation-panel/components/content/items/question/QuestionEditor.vue b/ui/src/conversation-panel/components/content/items/question/QuestionEditor.vue index 9194cb988a6..8f75a55f118 100644 --- a/ui/src/conversation-panel/components/content/items/question/QuestionEditor.vue +++ b/ui/src/conversation-panel/components/content/items/question/QuestionEditor.vue @@ -28,9 +28,9 @@ function sendQuestion() { resize="none" class="question-editor-input" /> -
+
- 取消 + 取消 发送
diff --git a/ui/src/conversation-panel/components/content/items/question/index.vue b/ui/src/conversation-panel/components/content/items/question/index.vue index a0fced537d5..036690b24d9 100644 --- a/ui/src/conversation-panel/components/content/items/question/index.vue +++ b/ui/src/conversation-panel/components/content/items/question/index.vue @@ -132,7 +132,7 @@ function getAttachmentDescription(file: QuestionAttachment) {
-
+
{{ content.content }}
appInfo.value?.show_user_avatar)