Skip to content

mat-table: change height of rows (mat-row) and cells (mat-cell) to 52px #17721

@ryan-neufeld

Description

@ryan-neufeld

Bug, feature request, or proposal:

Change height of a row (mat-row)/cell (mat-cell) to 52px (51px + 1px bottom border)

What is the expected behavior?

Material Designs Guidelines show the height of a row as 52px OR (51px + 1px top border) upon inspecting the code of the material components for the web example

What is the current behavior?

Currently, inside of mat-table, mat-row seems to show a height of 48px with no padding or border and mat-cell shows a height of 47px + 1px bottom border

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://stackblitz.com/angular/vjavnrpqeyj?file=src%2Fapp%2Ftable-basic-example.html

Open inspect element on any example of mat-table and find mat-row + mat-cell for an example.

What is the use-case or motivation for changing an existing behavior?

Consistency across Material Design implementations.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

All.

Is there anything else we should know?

N/A.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/tablematerial specIssue related to the Material Design spec https://material.io/design/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions