Skip to content

Commit af288e6

Browse files
authored
Update FormControl ValidationIcon position (#6908)
1 parent 4e797ef commit af288e6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/pretty-emus-cover.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
update FormControl ValidationIcon position

packages/react/src/internal/components/InputValidation.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
}
2121

2222
.ValidationIcon {
23-
align-items: center;
2423
display: flex;
24+
margin-top: var(--base-size-2);
2525
margin-inline-end: var(--base-size-4);
2626
min-height: var(--inputValidation-iconSize);
2727
}

0 commit comments

Comments
 (0)