Skip to content

Commit bfea409

Browse files
authored
fix(material-experimental/mdc-card): action alignment not working (#23742)
We were adding the `mat-mdc-card-actions-align-end` class, but we weren't using it which meant that `<mat-card-actions align="end">` didn't work.
1 parent 3cd505f commit bfea409

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/material-experimental/mdc-card/card.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,8 @@ $mat-card-default-padding: 16px !default;
143143
.mat-mdc-card-content > :last-child:not(.mat-mdc-card-footer) {
144144
margin-bottom: 0;
145145
}
146+
147+
// Support for actions aligned to the end of the card.
148+
.mat-mdc-card-actions-align-end {
149+
justify-content: flex-end;
150+
}

0 commit comments

Comments
 (0)