From e1cee96b38805bcccf48e7bcb9d296f2bc54c720 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 24 一月 2025 11:10:32 +0800
Subject: [PATCH] 2025-01-24

---
 src/menu/components/tree/antd-tree/index.scss |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/src/menu/components/tree/antd-tree/index.scss b/src/menu/components/tree/antd-tree/index.scss
index c096ca8..a0eeef9 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;
@@ -24,13 +26,25 @@
     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