perf(form): improve the form function

This commit is contained in:
vben
2020-12-27 22:25:35 +08:00
parent 4ff1c408dc
commit ac1a369502
23 changed files with 344 additions and 100 deletions

View File

@@ -48,37 +48,6 @@
color: @primary-color !important;
}
// =================================
// ==============form===============
// =================================
.ant-form-item.deltag .ant-form-item-required::before {
content: '';
}
.ant-form-item-with-help {
margin-bottom: 0;
}
.ant-form-item {
&-label label::after {
margin: 0 6px 0 2px;
}
}
.ant-form-item:not(.ant-form-item-with-help) {
margin-bottom: 20px;
}
.ant-form-explain {
font-size: 14px;
}
.compact-form-row {
.ant-form-item {
margin-bottom: 8px;
}
}
// =================================
// ==============empty==============
// =================================