File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1+ @use ' ../core/tokens/token-utils' ;
2+ @use ' ./m2-table' ;
3+
14// Flex-based table structure
25$header-row-height : 56px ;
36$row-height : 48px ;
@@ -9,12 +12,18 @@ $row-horizontal-padding: 24px;
912 display : block ;
1013 }
1114
12- mat-header-row {
13- min-height : $header-row-height ;
14- }
15+ @include token-utils .use-tokens (m2-table .$prefix , m2-table .get-token-slots ()) {
16+ mat-header-row {
17+ min-height : token-utils .slot (header-container-height , $header-row-height );
18+ }
1519
16- mat-row , mat-footer-row {
17- min-height : $row-height ;
20+ mat-row {
21+ min-height : token-utils .slot (row-item-container-height , $row-height );
22+ }
23+
24+ mat-footer-row {
25+ min-height : token-utils .slot (footer-container-height , $row-height );
26+ }
1827 }
1928
2029 mat-row , mat-header-row , mat-footer-row {
You can’t perform that action at this time.
0 commit comments