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 | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/components/editor/index.scss b/src/components/editor/index.scss index 4ff4420..9f9132f 100644 --- a/src/components/editor/index.scss +++ b/src/components/editor/index.scss @@ -1,7 +1,26 @@ .normal-braft-editor { + overflow: hidden; + border: 1px solid #d9d9d9; + border-radius: 4px; + .bf-content { overflow-x: hidden; overflow-y: auto; + 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 { width: 7px; -- Gitblit v1.8.0