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;