Skip to content

bug(mat-icon-button): icon buttons are not baselined with other types of buttons after changing height and width #27130

Open
@iKrishnaSahu

Description

@iKrishnaSahu

Is this a regression?

  • 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)

image

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

image

Reproduction

Steps to reproduce:

  1. Open this stackblitz
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/button

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions