Is this a regression?
The previous version in which this bug was not present was
No response
Description
Lowering the density of mat menu component does not change the density of a mat menu item.
Reproduction
https://stackblitz.com/edit/angular-t3wxbs?file=src%2Ftheme.scss
Steps to reproduce:
- Open
theme.scss and set density to -2
- Open a mat menu item and check it's height
Expected Behavior
Height with density of 0 - 48px
Height with density of -2 - 36px
Actual Behavior
Height with density of 0 - 48px
Height with density of -2 - 48px
Environment
- Angular: 15.2.2
- CDK/Material: 15.2.2
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Lowering the density of mat menu component does not change the density of a mat menu item.
Reproduction
https://stackblitz.com/edit/angular-t3wxbs?file=src%2Ftheme.scss
Steps to reproduce:
theme.scssand set density to -2Expected Behavior
Height with density of 0 - 48px
Height with density of -2 - 36px
Actual Behavior
Height with density of 0 - 48px
Height with density of -2 - 48px
Environment