Skip to content

Commit 6e1f50b

Browse files
Matt Liegeyandrewseguin
authored andcommitted
fix: change selectors for MdCardXlImage and MdCardAvatar (#3134)
1 parent 60aa9e9 commit 6e1f50b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/card/card.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class MdCardImage {}
112112
* Large image used in a card, needed to add the mat- CSS styling.
113113
*/
114114
@Directive({
115-
selector: 'md-card-xl-image, mat-card-xl-image',
115+
selector: '[md-card-xl-image], [mat-card-xl-image]',
116116
host: {
117117
'[class.mat-card-xl-image]': 'true'
118118
}
@@ -123,7 +123,7 @@ export class MdCardXlImage {}
123123
* Avatar image used in a card, needed to add the mat- CSS styling.
124124
*/
125125
@Directive({
126-
selector: 'md-card-avatar, mat-card-avatar',
126+
selector: '[md-card-avatar], [mat-card-avatar]',
127127
host: {
128128
'[class.mat-card-avatar]': 'true'
129129
}

0 commit comments

Comments
 (0)