Skip to content

Commit 9b19e6a

Browse files
mina-skunkjelbourn
authored andcommitted
fix(card): add missing card content selectors (#17488)
Fixes #17487
1 parent a7c3ab0 commit 9b19e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/card/card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';
2323
* @docs-private
2424
*/
2525
@Directive({
26-
selector: 'mat-card-content',
26+
selector: 'mat-card-content, [mat-card-content], [matCardContent]',
2727
host: {'class': 'mat-card-content'}
2828
})
2929
export class MatCardContent {}

0 commit comments

Comments
 (0)