components
components copied to clipboard
bug(mat-icon): the icon is cut off in some cases
Is this a regression?
- [X] Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
13
Description
I found that after updating from angular/material@13 to 14 - mat-icon started to "crop" the icon inside.
I see it in my app but also in the official angular material docs site https://material.angular.io
Reproduction
Steps to reproduce:
- navigate to https://material.angular.io/
- open theme selector
Expected Behavior

https://v13.material.angular.io/
Actual Behavior

https://material.angular.io/
Environment
- Angular: 14
- CDK/Material: 14.2.4
- Browser(s): Google Chrome
- Operating System: Windows