From b00c97ae8466d6be93f168d83e8af78ecfdf94c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=99=93=E9=9D=99?= <17600756968@163.com> Date: Tue, 21 Jul 2020 16:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/apolloTable/detailForm/index.less | 3 ++- components/apolloTable/editFormV3/index.less | 21 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/components/apolloTable/detailForm/index.less b/components/apolloTable/detailForm/index.less index 0e8b54a..d8d8668 100644 --- a/components/apolloTable/detailForm/index.less +++ b/components/apolloTable/detailForm/index.less @@ -1,7 +1,8 @@ @import '~@/theme/common'; .wrap { position: relative; - width: 580px; + // width: 580px; + width: 100%; background: #fff; .titleRow { display: flex; diff --git a/components/apolloTable/editFormV3/index.less b/components/apolloTable/editFormV3/index.less index 86bd545..3adb865 100644 --- a/components/apolloTable/editFormV3/index.less +++ b/components/apolloTable/editFormV3/index.less @@ -1,13 +1,14 @@ -@import "~@/theme/common"; +@import '~@/theme/common'; .wrap { position: relative; - width: 580px; + // width: 580px; + width: 100%; .titleCls { position: absolute; left: 26px; - width: 520px; + // width: 520px; font-size: 16px; color: @textPrimaryColor; line-height: 62px; @@ -21,33 +22,31 @@ min-height: 520px; overflow-x: hidden; overflow-y: auto; - border-bottom: 1px solid #ECECEC; + border-bottom: 1px solid #ececec; margin: 62px 0 68px; position: relative; :global(.ant-form-item-control) { line-height: 28px; } - :global(.ant-form-item-required:before){ + :global(.ant-form-item-required:before) { position: initial; vertical-align: middle; } - .titleContainer{ + .titleContainer { vertical-align: middle; - .colIcon{ + .colIcon { width: @textFontGen; color: @textSupplyColor; } - .itemTitle{ + .itemTitle { margin-left: @marginSm; color: @textPrimaryColor; } } - } .itemCls { - } .btnCls { @@ -63,7 +62,7 @@ .delBtnCls { color: @errorColor; position: relative; - left: -303px + left: -303px; } } } -- 2.21.0