From 84672a2f13e9e42ab554c28d2ac59744051b79b2 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Tue, 3 May 2022 15:53:45 -0600 Subject: [PATCH] fix(material-experimental/mdc-table): add inherit background to rows --- src/material-experimental/mdc-table/table.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/material-experimental/mdc-table/table.scss b/src/material-experimental/mdc-table/table.scss index bb24f9afddfb..faafd44a9608 100644 --- a/src/material-experimental/mdc-table/table.scss +++ b/src/material-experimental/mdc-table/table.scss @@ -35,10 +35,10 @@ mat-row.mat-mdc-row, mat-header-row.mat-mdc-header-row, mat-footer-row.mat-mdc-f } // Cells need to inherit their background in order to overlap each other when sticky. -// The background needs to be inherited from the table, tbody/tfoot, row -// (already set in MDC), and cell. +// The background needs to be inherited from the table, tbody/tfoot, row, and cell. .mat-mdc-table tbody, .mat-mdc-table tfoot, .mat-mdc-table thead, .mat-mdc-cell, .mat-mdc-footer-cell, +.mat-mdc-header-row, .mat-mdc-row, .mat-mdc-footer-row, .mat-mdc-table .mat-mdc-header-cell { background: inherit; }