fix: layout vertical not work #3075

pull/3087/head
undefined 2020-11-01 18:06:40 +08:00
parent 7651862729
commit 9380621850
1 changed files with 10 additions and 0 deletions

View File

@ -290,6 +290,16 @@ form {
}
}
.@{form-prefix-cls}-vertical {
.@{form-prefix-cls}-item {
flex-direction: column;
&-label > label {
height: auto;
}
}
}
.@{form-prefix-cls}-vertical .@{form-prefix-cls}-item-label,
// when labelCol is 24, it is a vertical form
.@{ant-prefix}-col-24.@{form-prefix-cls}-item-label,