Skip to content

Commit

Permalink
fix(alert): placement of link consistent with notice (#5852)
Browse files Browse the repository at this point in the history
**Related Issue:** #5254

## Summary

The `notice` and `alert` slots have the same placement and styling for
the slotted `link` content.
  • Loading branch information
Elijbet authored Dec 1, 2022
1 parent 4aa2e90 commit 56e35ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/alert/alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@

.alert-content {
@include alert-element-base;
@apply bg-foreground-1 break-words;
flex: 1 1 auto;
@apply bg-foreground-1 break-words flex flex-col;
flex: 1 1 0;
min-inline-size: 0;
padding-block: var(--calcite-alert-spacing-token-small);
padding-inline: 0 var(--calcite-alert-spacing-token-small);
Expand Down

0 comments on commit 56e35ab

Please sign in to comment.