Skip to content

Commit

Permalink
fix: change selectors for MdCardXlImage and MdCardAvatar (#3134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Liegey authored and andrewseguin committed Feb 16, 2017
1 parent 60aa9e9 commit 6e1f50b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/card/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class MdCardImage {}
* Large image used in a card, needed to add the mat- CSS styling.
*/
@Directive({
selector: 'md-card-xl-image, mat-card-xl-image',
selector: '[md-card-xl-image], [mat-card-xl-image]',
host: {
'[class.mat-card-xl-image]': 'true'
}
Expand All @@ -123,7 +123,7 @@ export class MdCardXlImage {}
* Avatar image used in a card, needed to add the mat- CSS styling.
*/
@Directive({
selector: 'md-card-avatar, mat-card-avatar',
selector: '[md-card-avatar], [mat-card-avatar]',
host: {
'[class.mat-card-avatar]': 'true'
}
Expand Down

0 comments on commit 6e1f50b

Please sign in to comment.