From 76a4300654a18d228838c3f27455dc8e7a8cd616 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 15 一月 2021 17:04:42 +0800
Subject: [PATCH] Merge branch 'master' into bms

---
 src/menu/modelsource/dragsource/index.scss |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/menu/modelsource/dragsource/index.scss b/src/menu/modelsource/dragsource/index.scss
index 59efc99..ac891ba 100644
--- a/src/menu/modelsource/dragsource/index.scss
+++ b/src/menu/modelsource/dragsource/index.scss
@@ -3,14 +3,20 @@
   width: 100%;
   margin-bottom: 15px;
   height: auto;
-
-  // background-size: cover;
-  // background-position: top center;
-  // background-repeat: no-repeat;
+  min-height: 70px;
 
   .property {
     font-size: 14px;
     color: rgba(0, 0, 0, 0.65);
+    margin-bottom: 2px;
+
+    .anticon-close-circle {
+      opacity: 0;
+      cursor: pointer;
+      padding: 0 3px;
+      color: #ff4d4f;
+      transition: all 0.3s;
+    }
   }
 
   img {
@@ -26,6 +32,12 @@
   }
 }
 
+.menu-source-item:hover .property {
+  .anticon-close-circle {
+    opacity: 1;
+  }
+}
+
 .menu-source-tooltip-box {
   margin-left: 20px;
   .ant-tooltip-content {

--
Gitblit v1.8.0