Skip to content

Buttons with an icon and text are not up to spec #15798

@calebegg

Description

@calebegg

The icon needs to be 18x18 and have 8px of space to the right of it, per:

https://material.io/design/components/buttons.html#specs

Here's what I used:

.mat-button-wrapper .mat-icon {
  height: 18px;
  width: 18px;
  line-height: 18px;
  margin-right: 8px;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/buttonarea: material/icon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions