Skip to content

Commit

Permalink
Nest c-alert--error class within c-alert__extra class.
Browse files Browse the repository at this point in the history
  • Loading branch information
AriannaChau committed Jul 19, 2022
1 parent 57e8464 commit 141bccf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/alert/alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@
border: ms.step(-4) solid var(--theme-color-background-secondary);
border-radius: size.$border-radius-full;
}
}

.c-alert--error {
.c-alert__extra {
.c-alert--error & {
background-color: var(--theme-color-background-icon-error);
color: var(--theme-color-icon-error);
}
Expand Down

0 comments on commit 141bccf

Please sign in to comment.