mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
tweak input group align in form item
This commit is contained in:
parent
ccd419029a
commit
d4844bbaf8
@ -250,16 +250,9 @@ form {
|
||||
|
||||
// fix input with addon position. https://github.com/ant-design/ant-design/issues/8243
|
||||
.@{ant-prefix}-input-group-wrapper {
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
top: (@form-component-max-height - @input-height-base) / 2;
|
||||
|
||||
&.@{ant-prefix}-input-group-wrapper-lg {
|
||||
top: (@form-component-max-height - @input-height-lg) / 2;
|
||||
}
|
||||
|
||||
&.@{ant-prefix}-input-group-wrapper-sm {
|
||||
top: (@form-component-max-height - @input-height-sm) / 2;
|
||||
}
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user