Skip to content

Commit

Permalink
fix(input-alert): handle case when no icon
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonC authored Mar 11, 2024
1 parent a13a4a5 commit ed17704
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/core/src/components/InputAlert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export const baseStyles = css`
& > svg:first-child {
margin-top: 2px;
}
& > :not(svg):first-child:last-child {
grid-column: 1 / 3;
}
&[data-variant='error'],
&[data-variant='warning'],
Expand Down

0 comments on commit ed17704

Please sign in to comment.