How to change mat-icon size in Material

Discussão em 'Angular' iniciado por Mackelito, Junho 6, 2025.

  1. Mackelito

    Mackelito Guest

    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.

    Continue reading...

Compartilhe esta Página