From 106263ec10e60ce6c406e4fd5eb76d195772d0f0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 18 十二月 2020 18:07:05 +0800 Subject: [PATCH] 2020-12-18 --- src/menu/components/search/main-search/index.scss | 49 ++++++++++++++++++++----------------------------- 1 files changed, 20 insertions(+), 29 deletions(-) diff --git a/src/menu/components/search/main-search/index.scss b/src/menu/components/search/main-search/index.scss index 288990d..2342b30 100644 --- a/src/menu/components/search/main-search/index.scss +++ b/src/menu/components/search/main-search/index.scss @@ -27,23 +27,9 @@ border-radius: 2px; padding-bottom: 15px; .ant-form-item { - cursor: move; - display: flex; + position: relative; margin-bottom: 0px; - .ant-form-item-label { - height: 40px; - label { - width: 100%; - cursor: move; - overflow: hidden; - display: inline-block; - text-overflow: ellipsis; - white-space: nowrap; - } - } .ant-form-item-control-wrapper { - position: relative; - flex: 1 1; .ant-select { width: 100%; margin-top: 4px; @@ -56,26 +42,31 @@ font-size: 13px; } } - .ant-form-item-control-wrapper::after { - content: ''; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - opacity: 0; - z-index: 2; - } + } + .ant-form-item::after { + display: block; + content: ' '; + clear: both; + } + >div::after { + display: block; + content: ' '; + position: absolute; + cursor: move; + top: 0; + left: 0; + right: 0; + bottom: 0; + opacity: 0; + z-index: 2; } } .page-card.false { .ant-form-item-label { display: none; } - } - .page-card:hover { - .edit { - display: inline-block; + .ant-form-item-control-wrapper { + width: 100%; } } .ant-calendar-picker { -- Gitblit v1.8.0