bug(mat-icon-button): icon buttons are not baselined with other types of buttons after changing height and width
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
### 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
v14
### Description
Icon buttons are not baselined with other types of buttons after changing height and width
v16 (https://stackblitz.com/edit/tzatnc?file=src%2Fstyles.scss,src%2Fapp%2Fbutton-overview-example.css)

v14 (https://stackblitz.com/edit/hgda6s?file=src%2Fstyles.scss,src%2Fapp%2Fbutton-overview-example.html)

### Reproduction
Steps to reproduce:
1. Open [this stackblitz](https://stackblitz.com/edit/tzatnc?file=src%2Fstyles.scss,src%2Fapp%2Fbutton-overview-example.css)
2. Check the UI
### Expected Behavior
Icon Buttons should be baselined with other buttons
### Actual Behavior
Icon Buttons are not baselined with other buttons
### Environment
- Angular: 16
- CDK/Material: 16
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Contributor guide
Research direction
Reproduce the layout in the linked StackBlitz, starting with src/styles.scss and src/app/button-overview-example.css, and compare it with the v14 example. Confirm how the changed icon-button dimensions affect alignment with other button types; done means icon buttons share the expected baseline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular
- Domain
- design, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100