From 7ea1c5f53702951fc4df60e969fc67ef5d7af4dd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 14 一月 2020 10:13:05 +0800 Subject: [PATCH] 2020-01-14 --- src/templates/modalconfig/index.scss | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) diff --git a/src/templates/modalconfig/index.scss b/src/templates/modalconfig/index.scss index 04547e8..21270e3 100644 --- a/src/templates/modalconfig/index.scss +++ b/src/templates/modalconfig/index.scss @@ -211,7 +211,6 @@ display: flex; margin-bottom: 0px; .ant-form-item-label { - // width: 100px; height: 40px; label { width: 100%; @@ -223,7 +222,6 @@ } } .ant-form-item-control-wrapper { - flex: 1 1; .ant-select { width: 100%; margin-top: 4px; @@ -245,20 +243,45 @@ opacity: 0; } } + .ant-col-cuslabel { + width: 10.5%; + } + .ant-col-cuswrap { + width: 89.5%; + } } .edit { position: absolute; - left: calc(33% - 100px); + left: calc(33% - 70px); top: 0px; color: #1890ff; cursor: pointer; display: none; } .edit.close { - left: calc(33% - 75px); + left: calc(33% - 45px); color: #ff4d4f; } } + .ant-col.textarea2 { + padding-left: 7px; + .page-card { + .edit { + left: calc(17% - 70px); + } + .edit.close { + left: calc(17% - 45px); + } + } + } + .ant-col.textarea3 .page-card { + .edit { + left: calc(11% - 70px); + } + .edit.close { + left: calc(11% - 45px); + } + } .page-card:hover { .edit { display: inline-block; -- Gitblit v1.8.0