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)

(cherry picked from commit 1ce49a3)
  • Loading branch information
andrewseguin authored and mmalerba committed Jan 13, 2021
1 parent 2063a55 commit ce5d10a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/material-experimental/mdc-table/table.scss
Original file line number Diff line number Diff line change
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 ce5d10a

Please sign in to comment.