From 2278c20ebae910526d282c3168910704580fa68b Mon Sep 17 00:00:00 2001 From: xiaozzzi <42293085+xiaozzzi@users.noreply.github.com> Date: Wed, 4 Oct 2023 17:34:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A0=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E5=8D=A0=E4=BD=8D=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renderer/src/views/article/ArticleTreeDocs.vue | 3 +++ .../src/renderer/src/views/doc/tree-docs.scss | 11 +++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/blossom-editor/src/renderer/src/views/article/ArticleTreeDocs.vue b/blossom-editor/src/renderer/src/views/article/ArticleTreeDocs.vue index 60e4518..55b2468 100644 --- a/blossom-editor/src/renderer/src/views/article/ArticleTreeDocs.vue +++ b/blossom-editor/src/renderer/src/views/article/ArticleTreeDocs.vue @@ -87,6 +87,9 @@ +
+ 暂无文档,可点击上方 ↑ 添加 +
diff --git a/blossom-editor/src/renderer/src/views/doc/tree-docs.scss b/blossom-editor/src/renderer/src/views/doc/tree-docs.scss index 0fad68e..f4c0817 100644 --- a/blossom-editor/src/renderer/src/views/doc/tree-docs.scss +++ b/blossom-editor/src/renderer/src/views/doc/tree-docs.scss @@ -4,6 +4,7 @@ .doc-trees-container { @include box(100%, calc(100% - 90px)); + // 图片文档菜单中需要有 padding-top padding-top: 8px; * { @@ -14,12 +15,18 @@ width: 100%; } + .doc-trees-empty-placeholder { + padding: 0 20px; + color: var(--bl-text-color-light); + font-size: 13.5px; + } + .doc-trees { @include box(100%, 100%); font-weight: 200; border: 0; - // overflow-y: overlay; - overflow-y: scroll; + overflow-y: overlay; + // overflow-y: scroll; // 基础的 padding --el-menu-base-level-padding: 25px; // 每级别的的缩进