Skip to content

Commit

Permalink
fix(alert): use :deep instead of :slotted to style elements
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Oct 2, 2024
1 parent 9d8f54b commit 166119d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/SAlert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ withDefaults(defineProps<{
gap: 16px;
}
.content :slotted(p) {
.content :deep(p) {
margin: 0;
max-width: 65ch;
line-height: 24px;
font-size: 14px;
}
.content :slotted(a) {
.content :deep(a) {
font-weight: 500;
text-decoration: underline;
transition: color 0.25s;
Expand Down

0 comments on commit 166119d

Please sign in to comment.