Skip to content

Commit

Permalink
fix(material-experimental/mdc-table): remove bottom border for flex t…
Browse files Browse the repository at this point in the history
…able (#21566)
  • Loading branch information
andrewseguin committed Jan 13, 2021
1 parent 8aebd03 commit 1ce49a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/material-experimental/mdc-table/table.scss
Expand Up @@ -20,3 +20,10 @@
.mdc-data-table__table {
table-layout: auto;
}

// MDC table rows are styled with a top border, whereas our legacy flex table styles rows with
// a bottom border. Remove the bottom border style from the rows and let MDC display its top
// border.
mat-row.mat-mdc-row, mat-header-row.mat-mdc-header-row, mat-footer-row.mat-mdc-footer-row {
border-bottom: none;
}

0 comments on commit 1ce49a3

Please sign in to comment.