Skip to content

Commit

Permalink
fix(card): fix arrow positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Nov 5, 2024
1 parent c7f7270 commit 17ef317
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/styles/scss/components/card/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@
content: '';
inset: 0;
}

.#{$prefix}--card__footer-wrapper {
margin-block-start: auto;
}
}

// Card with pictogram placement style
Expand Down Expand Up @@ -460,14 +464,11 @@
}
}

.#{$prefix}--card .#{$prefix}--card__footer,
:host(#{$c4d-prefix}-card-footer) a,
:host(#{$c4d-prefix}-card-cta-footer) a,
:host(#{$c4d-prefix}-card-in-card-footer) a,
:host(#{$c4d-prefix}-feature-card-footer) a,
:host(#{$c4d-prefix}-feature-cta-footer) a {
/* Moves the footer down to the bottom in the card */
margin-block-start: auto;
text-decoration: none;

&:focus {
Expand Down

0 comments on commit 17ef317

Please sign in to comment.