Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Icon should be 24px.
What is the current behavior?
What are the steps to reproduce?
https://stackblitz.com/edit/angular-htjtlq
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Last
Is there anything else we should know?
When sprites don't have width and height (see https://raw.githubusercontent.com/google/material-design-icons/master/sprites/svg-sprite/svg-sprite-action-symbol.svg) we can see the bug. Weight of your style is less.
I wrote early #3441
In some projects I also use flex-shrink instead width and height for svg:
@mixin mat-icon-size-bug() {
.mat-icon {
flex-shrink: 0;
}
}