Skip to content

Commit

Permalink
fix(card-footer): preserve card footer display rules
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Aug 4, 2021
1 parent cd9a77c commit 39983d4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/styles/scss/components/card/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,17 @@
}
}

:host(#{$dds-prefix}-card-footer) {
.#{$prefix}--link-with-icon.#{$prefix}--link-with-icon--inline-icon {
display: flex;

svg,
::slotted(svg[slot='icon']) {
display: block;
}
}
}

.#{$prefix}--card .#{$prefix}--card__footer,
:host(#{$dds-prefix}-card-footer) a,
:host(#{$dds-prefix}-card-cta-footer) a,
Expand Down

0 comments on commit 39983d4

Please sign in to comment.