From 73b2dc5000b03cd150d91e0f6f1d1e3ba82cc97f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 05 七月 2024 23:14:39 +0800 Subject: [PATCH] 2024-07-05 --- src/components/editor/index.scss | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/editor/index.scss b/src/components/editor/index.scss index 44e33dc..856400d 100644 --- a/src/components/editor/index.scss +++ b/src/components/editor/index.scss @@ -1,9 +1,13 @@ .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; -- Gitblit v1.8.0