Skip to content

Commit

Permalink
Apply colours directly to svg instead of to column element
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieyan committed Oct 31, 2023
1 parent 5bef27b commit b2a54d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/alert/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function Alert({ id, children, tone, closeLabel, onClose }: AlertProps) {
className={[styles.container, getClassNames(styles, 'tone', tone)]}
>
<Columns space="small" alignY="center">
<Column width="content" exceptionallySetClassName={styles.icon}>
<AlertIcon tone={tone} />
<Column width="content">
<AlertIcon tone={tone} className={styles.icon} />
</Column>
<Column>
<Box
Expand Down

0 comments on commit b2a54d7

Please sign in to comment.