From 1a08525fe39ea67325725c75dcf0397b9fdb710f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 03 六月 2021 16:57:13 +0800
Subject: [PATCH] 2021-06-03

---
 src/components/mkIcon/index.scss |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/src/components/mkIcon/index.scss b/src/components/mkIcon/index.scss
index 1d15d8a..483ffdf 100644
--- a/src/components/mkIcon/index.scss
+++ b/src/components/mkIcon/index.scss
@@ -6,15 +6,35 @@
   line-height: 32px;
   padding: 0px 0px 0px 10px;
 
-  .anticon:last-child {
+  .anticon.trigger {
     float: right;
     line-height: 32px;
     padding: 0 10px;
     border-left: 1px solid #d9d9d9;
   }
+  .close.anticon {
+    float: right;
+    margin-top: 6px;
+    margin-right: 5px;
+    background: #efefef;
+    border-radius: 50%;
+    color: #757575;
+    padding: 2px;
+    font-size: 13px;
+    opacity: 0;
+    transition: opacity 0.3s;
+  }
 }
 .mk-icon-box:hover {
   border-color: #1890ff;
+  .close.anticon {
+    opacity: 1;
+  }
+}
+.mk-icon-box::after {
+  content: ' ';
+  display: block;
+  clear: both;
 }
 .mk-icon-wrap {
   .ant-col {

--
Gitblit v1.8.0