From b3547d1c531e479021219fda5df153a11b9b52a3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 31 八月 2020 17:28:09 +0800 Subject: [PATCH] 2020-08-31 --- src/templates/headerconfig/dragelement/index.scss | 59 +++++++++++++++++++++++------------------------------------ 1 files changed, 23 insertions(+), 36 deletions(-) diff --git a/src/templates/headerconfig/dragelement/index.scss b/src/templates/headerconfig/dragelement/index.scss index 19aad3e..aceb422 100644 --- a/src/templates/headerconfig/dragelement/index.scss +++ b/src/templates/headerconfig/dragelement/index.scss @@ -24,44 +24,31 @@ .btn-group { display: inline-block; } -} -.card { - position: relative; - border: 1px dashed gray; - margin-top: 7px; - margin-right: 10px; - float: left; - div { - padding: 5px 20px 5px 5px; - cursor: move; - min-width: 43px; - max-width: 85px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .close { - position: absolute; - right: 0; - top: 0; - cursor: pointer; - :hover { - color: #ffffff; - } - } - .edit { - display: none; - position: absolute; - right: 0; - bottom: 0; - cursor: pointer; - :hover { - color: #ffffff; + .card { + position: relative; + border: 1px dashed gray; + margin-top: 8px; + margin-right: 5px; + float: left; + div { + padding: 3px 6px; + font-size: 16px; + cursor: move; + min-width: 43px; + max-width: 85px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } } } -.card:hover { - .edit { - display: inline-block; + +.mk-popover-control-wrap.header-menu { + .ant-popover-content { + position: relative; + top: -8px; + .ant-popover-arrow { + top: -3.8px!important; + } } } -- Gitblit v1.8.0