From 13c250d3924ee3c0620af67b890b814382407bbe Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 23 Sep 2025 23:48:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF--=E9=A2=91?= =?UTF-8?q?=E9=81=93--=E8=A1=A8=E6=83=85=E6=97=A0=E6=B3=95=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=AE=8C=E5=85=A8=20#994?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend_nuxt/assets/global.css | 34 ++-------------------- frontend_nuxt/components/MessageEditor.vue | 6 ---- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/frontend_nuxt/assets/global.css b/frontend_nuxt/assets/global.css index 48cc9f30b..f46edefbf 100644 --- a/frontend_nuxt/assets/global.css +++ b/frontend_nuxt/assets/global.css @@ -108,7 +108,6 @@ body { .vditor-toolbar--pin { top: calc(var(--header-height) + 1px) !important; - z-index: 20; } .vditor-panel { @@ -134,26 +133,6 @@ body { animation: spin 1s linear infinite; } -/* .vditor { - --textarea-background-color: transparent; - border: none !important; - box-shadow: none !important; -} - -.vditor-reset { - color: var(--text-color); -} - -.vditor-toolbar { - background: transparent !important; - border: none !important; - box-shadow: none !important; -} */ - -/* .vditor-toolbar { - position: relative !important; -} */ - /************************* * Markdown 渲染样式 *************************/ @@ -333,10 +312,6 @@ body { min-height: 100px; } - .vditor-toolbar { - overflow-x: auto; - } - .about-content h1, .info-content-text h1 { font-size: 20px; @@ -354,8 +329,8 @@ body { margin-bottom: 3px; } - .vditor-toolbar--pin { - top: 0 !important; + .vditor-panel { + min-width: 330px; } .about-content li, @@ -367,11 +342,6 @@ body { line-height: 1.5; } - .vditor-panel { - position: relative; - min-width: 0; - } - .d2h-file-name { font-size: 14px !important; } diff --git a/frontend_nuxt/components/MessageEditor.vue b/frontend_nuxt/components/MessageEditor.vue index 61fa4d27a..8020b825b 100644 --- a/frontend_nuxt/components/MessageEditor.vue +++ b/frontend_nuxt/components/MessageEditor.vue @@ -159,12 +159,6 @@ export default { border: 1px solid var(--border-color); border-radius: 8px; } - -.vditor { - min-height: 50px; - max-height: 150px; -} - .message-bottom-container { display: flex; flex-direction: row;