From 6e106eb13ce404d9955d6c9045d21050d3e08294 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 20 十一月 2020 11:19:36 +0800 Subject: [PATCH] 2020-11-20 --- src/menu/components/search/main-search/index.scss | 38 ++++++++++++++++++++++---------------- 1 files changed, 22 insertions(+), 16 deletions(-) diff --git a/src/menu/components/search/main-search/index.scss b/src/menu/components/search/main-search/index.scss index 543f44e..64c6210 100644 --- a/src/menu/components/search/main-search/index.scss +++ b/src/menu/components/search/main-search/index.scss @@ -1,10 +1,11 @@ .main-search-edit-list { min-height: 50px; position: relative; + background: #ffffff; >.anticon-tool { position: absolute; - z-index: 1; + z-index: 3; font-size: 16px; right: 1px; top: 1px; @@ -23,7 +24,6 @@ } .page-card { position: relative; - background: #ffffff; border-radius: 2px; padding-bottom: 15px; .ant-form-item { @@ -65,21 +65,10 @@ } } } - .edit { - position: absolute; - left: 0; - top: 5px; - color: #1890ff; - cursor: pointer; + } + .page-card.false { + .ant-form-item-label { display: none; - } - .edit.copy { - left: 20px; - color: #26C281; - } - .edit.close { - left: 40px; - color: #ff4d4f; } } .page-card:hover { @@ -92,6 +81,23 @@ width: 100%; } } +.main-search-edit-list.right { + >.ant-row { + >.ant-col { + float: right; + } + >.ant-col.action { + display: none; + } + } +} +.main-search-edit-list.false { + >.ant-row { + >.ant-col.action { + display: none; + } + } +} .main-search-edit-list::after { display: block; content: ' '; -- Gitblit v1.8.0