-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
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;
}
}
tomwanzek and Rodrigo54
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
