Wrong Form.Field feedback's vertical position is off when using placed in a vertical Form layout #9153
Labels
good first issue
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Version
3.1.5
Environment
macOS, Chrome and Safari
Reproduction link
IMPORTANT: This only happen when using a custom LESS theme, that's why it "works" in the reproduction example.
https://codesandbox.io/s/328nvpo8oq
Steps to reproduce
Insert a
Form.Field
withhasFeedback
in aForm
withlayout="vertical"
.What is expected?
Form.Field
's feedback to be aligned vertically, like this:What is actually happening?
Feedback icons are offset, displaced vertically downwards:
Looks like when the less version get compiled, these styles are used:
In
.ant-form-item-control
theline-heigh: @line-height-base;
instead ofline-height: @form-component-max-height - 0.0001px;
The text was updated successfully, but these errors were encountered: