From dbc2aeb8fb08c9e27f8424b2c379a0c0874c1cec Mon Sep 17 00:00:00 2001 From: Madan Prajapati Date: Tue, 5 Sep 2023 18:47:23 +0530 Subject: [PATCH] MDC table last row within tbody set bottom border as none for header cell as other mat-mdc-cell bottom border are set as none, this will make consistent layout for table --- src/material/table/table.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/material/table/table.scss b/src/material/table/table.scss index 44a852dcba79..2a3944498980 100644 --- a/src/material/table/table.scss +++ b/src/material/table/table.scss @@ -148,3 +148,9 @@ mat-cell.mat-mdc-cell, mat-footer-cell.mat-mdc-footer-cell { align-self: stretch; } + +// MDC table last row within tbody set bottom border as none for header cell as other mat-mdc-cell +// bottom border are set as none, this will make consistent layout for table +.mat-mdc-table tbody .mdc-data-table__row:last-child .mat-mdc-header-cell { + border-bottom: none; +}