mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix: change selectors for MdCardXlImage and MdCardAvatar (#3134)
This commit is contained in:
committed by
Andrew Seguin
parent
60aa9e9768
commit
6e1f50bc82
@@ -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'
|
||||
}
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user