This question comes from the Material2 Github repo.
I still have problems to style a Material component that is wrapped in a custom component.
I have a <logo>
component that contains <md-icon svgIcon="logo"></md-icon>
Adding:
:host {
.mat-icon {
width: 100px;
height: 100px;
font-size: 56px;
}
}
Will not apply to the Material component inside my custom component.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…