fix: 修复 texteara 在其它 size 下宽度不一致问题 (#2697)

This commit is contained in:
吴多益 2021-10-14 00:13:27 +08:00 committed by GitHub
parent 350aefdb7a
commit 9ef4b6dcf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,10 +166,6 @@
&.#{$ns}NumberControl {
width: var(--Form-control-widthXs);
}
&.#{$ns}TextareaControl {
width: auto;
}
}
.#{$ns}Form-control--sizeSm {
@ -182,10 +178,6 @@
&.#{$ns}NumberControl {
width: var(--Form-control-widthSm);
}
&.#{$ns}TextareaControl {
width: auto;
}
}
.#{$ns}Form-control--sizeMd {
@ -193,10 +185,6 @@
max-width: 100%;
display: inline-block;
vertical-align: top;
&.#{$ns}TextareaControl {
width: auto;
}
}
.#{$ns}Form-control--sizeLg {
@ -209,10 +197,6 @@
&.#{$ns}NumberControl {
width: var(--Form-control-widthLg);
}
&.#{$ns}TextareaControl {
width: auto;
}
}
.#{$ns}Form-item {