From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/components/editor/index.scss | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/components/editor/index.scss b/src/components/editor/index.scss index 44e33dc..9f9132f 100644 --- a/src/components/editor/index.scss +++ b/src/components/editor/index.scss @@ -1,12 +1,25 @@ .normal-braft-editor { + overflow: hidden; + border: 1px solid #d9d9d9; + border-radius: 4px; + .bf-content { overflow-x: hidden; overflow-y: auto; - height: auto; - min-height: 500px; + height: var(--editor-height, auto); + min-height: var(--editor-height, 500px); padding-bottom: 0px; .public-DraftEditor-content { padding-bottom: 0; + + * { + font-weight: inherit; + font-style: inherit; + } + } + .DraftEditor-root, .DraftEditor-editorContainer, .public-DraftEditor-content { + height: var(--editor-height, auto); + min-height: var(--editor-height, 500px); } } .bf-content::-webkit-scrollbar { -- Gitblit v1.8.0