2021-09-07 16:14:20 +08:00
|
|
|
@import (reference) '../../style/themes/index';
|
|
|
|
|
|
|
|
@form-prefix-cls: ~'@{ant-prefix}-form';
|
|
|
|
@form-item-prefix-cls: ~'@{form-prefix-cls}-item';
|
2019-07-03 20:14:39 +08:00
|
|
|
|
|
|
|
.@{form-prefix-cls}-inline {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
.@{form-prefix-cls}-item {
|
2019-09-12 20:15:17 +08:00
|
|
|
flex: none;
|
|
|
|
flex-wrap: nowrap;
|
2019-07-03 20:14:39 +08:00
|
|
|
margin-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
&-with-help {
|
|
|
|
margin-bottom: @form-item-margin-bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .@{form-item-prefix-cls}-label,
|
|
|
|
> .@{form-item-prefix-cls}-control {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2020-05-28 12:47:37 +08:00
|
|
|
> .@{form-item-prefix-cls}-label {
|
|
|
|
flex: none;
|
|
|
|
}
|
|
|
|
|
2019-07-03 20:14:39 +08:00
|
|
|
.@{form-prefix-cls}-text {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{form-item-prefix-cls}-has-feedback {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|