Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/upcoming/7380.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed `EuiFormRow`s with `hasEmptyLabelSpace` being very slightly off in vertical alignment
2 changes: 1 addition & 1 deletion src/components/form/form_row/_form_row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

.euiFormRow--hasEmptyLabelSpace {
margin-top: floor($euiFontSize * $euiBodyLineHeight) + $euiSizeXS; /* 2 */
margin-top: $euiSize + $euiSizeXS; /* 2 */
// the following ensure that contents that aren't inherently the same height
// as inputs will align to the vertical center
min-height: $euiFormControlHeight;
Expand Down