From e4da07b71dddb3b01b58ecaf21ae5b7052e98b7d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 26 八月 2020 16:01:01 +0800
Subject: [PATCH] 2020-08-26

---
 src/menu/menushell/index.scss |   31 ++++++++++++++++++++++++-------
 1 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/src/menu/menushell/index.scss b/src/menu/menushell/index.scss
index 26d5c35..fd9cc3f 100644
--- a/src/menu/menushell/index.scss
+++ b/src/menu/menushell/index.scss
@@ -1,25 +1,42 @@
 .menu-shell-inner {
   min-height: calc(100vh - 150px);
+  margin: -8px;
+
+  >.ant-col {
+    padding: 8px;
+  }
+
   .mk-component-card {
     position: relative;
     .remove-component {
       position: absolute;
-      right: 2px;
-      top: 50%;
-      background: #ff4d4f;
+      right: 40px;
+      top: -13px;
+      color: #ff4d4f;
       border-radius: 2px;
-      padding: 4px;
-      color: #ffffff;
+      padding: 5px;
       cursor: pointer;
-      display: none;
+      opacity: 0;
     }
   }
   .mk-component-card:hover {
     .remove-component {
-      display: inline-block;
+      opacity: 1;
+    }
+    .model-datasource > .anticon-setting {
+      opacity: 1;
     }
   }
   >.ant-empty {
     padding-top: 150px;
   }
+
+  .model-datasource > .anticon-setting {
+    font-size: 16px;
+    padding: 5px;
+    position: absolute;
+    right: 0px;
+    top: -19px;
+    opacity: 0;
+  }
 }
\ No newline at end of file

--
Gitblit v1.8.0