From 71a0e75ecb56ae643fe1e86188d45f93f48388c9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 28 八月 2020 14:07:41 +0800 Subject: [PATCH] 2020-08-28 --- src/menu/menushell/index.scss | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/menu/menushell/index.scss b/src/menu/menushell/index.scss index fd9cc3f..f2202c2 100644 --- a/src/menu/menushell/index.scss +++ b/src/menu/menushell/index.scss @@ -10,13 +10,15 @@ position: relative; .remove-component { position: absolute; - right: 40px; - top: -13px; + right: 42px; + top: -16px; color: #ff4d4f; border-radius: 2px; + font-size: 16px; padding: 5px; cursor: pointer; opacity: 0; + transition: opacity 0.2s; } } .mk-component-card:hover { @@ -36,7 +38,8 @@ padding: 5px; position: absolute; right: 0px; - top: -19px; + top: -30px; opacity: 0; + transition: opacity 0.2s; } } \ No newline at end of file -- Gitblit v1.8.0