fix: FormField error icon shrinks on multiline error messages#1104
Merged
ByronDWall merged 2 commits intomainfrom Feb 19, 2026
Merged
fix: FormField error icon shrinks on multiline error messages#1104ByronDWall merged 2 commits intomainfrom
ByronDWall merged 2 commits intomainfrom
Conversation
… messages - Add `alignItems: "flex-start"` to the error slot recipe so the icon aligns to the top of multi-line text - Replace `verticalAlign`, `mr`, and `alignSelf` on the icon with `flexShrink="0"` and `mt="50"` for correct top alignment with a small offset Fixes #1095 Co-authored-by: Michael Salzmann <misama-ct@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 4701add The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Collaborator
Author
|
@claude please add a changeset |
|
Claude finished @misama-ct's task in 51s —— View job Changeset Added
Added |
Co-authored-by: Michael Salzmann <misama-ct@users.noreply.github.com>
ddouglasz
approved these changes
Feb 19, 2026
ByronDWall
approved these changes
Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the bug where the error icon in
<FormField.Error>gets smaller and centered when the error message spans multiple lines.Changes:
alignItems: "flex-start"to theerrorslot in the recipe so the icon aligns to the top of multi-line textverticalAlign,mr, andalignSelffrom the iconflexShrink="0"to prevent the icon from shrinkingmt="50"(spacing.50) top margin for correct alignment with the first line of textFixes #1095
Generated with Claude Code