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';
|
2020-03-10 22:15:27 +08:00
|
|
|
|
|
|
|
.@{form-prefix-cls}-horizontal {
|
|
|
|
.@{form-item-prefix-cls}-label {
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
.@{form-item-prefix-cls}-control {
|
|
|
|
flex: 1 1 0;
|
2021-11-08 17:27:03 +08:00
|
|
|
// https://github.com/ant-design/ant-design/issues/32777
|
2022-02-18 15:46:59 +08:00
|
|
|
// https://github.com/ant-design/ant-design/issues/33773
|
2021-11-08 17:27:03 +08:00
|
|
|
min-width: 0;
|
2020-03-10 22:15:27 +08:00
|
|
|
}
|
2022-02-18 15:46:59 +08:00
|
|
|
// https://github.com/ant-design/ant-design/issues/32980
|
2022-04-11 12:30:47 +08:00
|
|
|
// https://github.com/ant-design/ant-design/issues/34903
|
|
|
|
.@{form-item-prefix-cls}-label[class$='-24'] + .@{form-item-prefix-cls}-control,
|
|
|
|
.@{form-item-prefix-cls}-label[class*='-24 '] + .@{form-item-prefix-cls}-control {
|
2022-02-18 15:46:59 +08:00
|
|
|
min-width: unset;
|
|
|
|
}
|
2020-03-10 22:15:27 +08:00
|
|
|
}
|