Browse Source

fix(Form): label width not correct when screen less than xs (#21222)

* fix(Form): label width not correct when screen less than xs

* fix form item control width

* fix css selector priority
pull/21350/head
骗你是小猫咪 5 years ago
committed by GitHub
parent
commit
e01755cfed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      components/form/style/vertical.less

7
components/form/style/vertical.less

@ -24,6 +24,13 @@
.@{form-prefix-cls}-item .@{form-prefix-cls}-item-label {
.make-vertical-layout-label();
}
.@{form-prefix-cls}-item {
.@{form-prefix-cls}-item-label,
.@{form-prefix-cls}-item-control {
flex: 0 0 100%;
max-width: 100%;
}
}
}
.@{form-prefix-cls}-vertical {

Loading…
Cancel
Save