Skip to content

Commit

Permalink
Merge pull request #1668 from cfpb/ans_breakout_card_fix
Browse files Browse the repository at this point in the history
cfpb-layout: Fix breakout card margin
  • Loading branch information
anselmbradford committed Jul 11, 2023
2 parents 268ddc4 + d0dbe0e commit 6a9f2b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cfpb-layout/src/molecules/card.less
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
outline-offset: 2px;
}

&:not(.m-card__highlight) {
&:not(.m-card__highlight):not(.m-card__breakout) {
.m-card_footer {
margin-top: auto;
}
Expand Down Expand Up @@ -235,13 +235,13 @@

// Provide padding offset set to half the image height.
> a {
padding-top: @card_img_height / 2;
padding-top: (@card_img_height / 2);
}

.m-card_inner-wrapper {
position: relative;
z-index: 0;
min-height: @card_img_height + (@grid_gutter-width / 2);
min-height: (@card_img_height + (@grid_gutter-width / 2));

background: @gray-5;
border: 1px solid @gray-20;
Expand Down

0 comments on commit 6a9f2b5

Please sign in to comment.