Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 156605b

Browse files
Michael ChenThomasBurleson
authored andcommitted
fix(card): position md-card-footer at bottom of card
Old behavior did not cause the footer to stick to the bottom of the card if the card had an assigned height taller than its content. Fixes #3144. Closes #4891.
1 parent b24f55f commit 156605b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/card/card.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ md-card {
2828
}
2929
}
3030
md-card-footer {
31+
margin-top: auto;
3132
padding: $card-padding;
3233
}
3334
}

0 commit comments

Comments
 (0)