mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
386ede9297
* fix: Form layout when Select has long text close #33773 * chore: update snapshot
21 lines
608 B
Plaintext
21 lines
608 B
Plaintext
@import (reference) '../../style/themes/index';
|
|
|
|
@form-prefix-cls: ~'@{ant-prefix}-form';
|
|
@form-item-prefix-cls: ~'@{form-prefix-cls}-item';
|
|
|
|
.@{form-prefix-cls}-horizontal {
|
|
.@{form-item-prefix-cls}-label {
|
|
flex-grow: 0;
|
|
}
|
|
.@{form-item-prefix-cls}-control {
|
|
flex: 1 1 0;
|
|
// https://github.com/ant-design/ant-design/issues/32777
|
|
// https://github.com/ant-design/ant-design/issues/33773
|
|
min-width: 0;
|
|
}
|
|
// https://github.com/ant-design/ant-design/issues/32980
|
|
.@{form-item-prefix-cls}-label.@{ant-prefix}-col-24 + .@{form-item-prefix-cls}-control {
|
|
min-width: unset;
|
|
}
|
|
}
|