From aa15f061ba185b05f22c98a0a979c72d08bcd974 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 11 二月 2025 09:42:38 +0800 Subject: [PATCH] 2025-02-11 --- src/menu/components/tree/antd-tree/index.scss | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/menu/components/tree/antd-tree/index.scss b/src/menu/components/tree/antd-tree/index.scss index c096ca8..67dbffc 100644 --- a/src/menu/components/tree/antd-tree/index.scss +++ b/src/menu/components/tree/antd-tree/index.scss @@ -1,11 +1,13 @@ -.menu-editor-sand-box { +.menu-tree-box { position: relative; box-sizing: border-box; background: #ffffff; background-position: center center; background-repeat: no-repeat; background-size: cover; - min-height: 30px; + min-height: 100px; + overflow-y: auto; + --mk-tree-line-height: 24px; .anticon-tool { position: absolute; @@ -17,20 +19,25 @@ padding: 5px; background: rgba(255, 255, 255, 0.55); } - .empty-content { - text-align: center; - font-size: 30px; - margin: 0; - line-height: 90px; - color: #bcbcbc; + .model-menu-action-list:not(.length0) { + margin: 10px 0px; + } + + .ant-tree li .ant-tree-node-content-wrapper, .ant-tree li span.ant-tree-switcher, .ant-tree li span.ant-tree-iconEle { + height: var(--mk-tree-line-height); + line-height: var(--mk-tree-line-height); } } -.menu-editor-sand-box::after { +.menu-tree-box::after { display: block; content: ' '; clear: both; } -.menu-editor-sand-box:hover { +.menu-tree-box:hover { z-index: 1; box-shadow: 0px 0px 4px #1890ff; } +.menu-tree-box::-webkit-scrollbar { + display: none; +} + -- Gitblit v1.8.0