Skip to content

Commit

Permalink
fix: Better alignment for Alert icons
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieyan committed Oct 23, 2024
1 parent 0eea18f commit 39f20f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/alert/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ function Alert({ id, children, tone, closeLabel, onClose }: AlertProps) {
>
<Columns space="small" alignY="center">
<Column width="content">
<AlertIcon tone={tone} className={styles.icon} />
<Box display="flex" alignItems="center">
<AlertIcon tone={tone} className={styles.icon} />
</Box>
</Column>
<Column>
<Box
Expand Down

0 comments on commit 39f20f7

Please sign in to comment.