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
+
1
4
// Flex-based table structure
2
5
$header-row-height : 56px ;
3
6
$row-height : 48px ;
@@ -9,12 +12,18 @@ $row-horizontal-padding: 24px;
9
12
display : block ;
10
13
}
11
14
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
+ }
15
19
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
+ }
18
27
}
19
28
20
29
mat-row , mat-header-row , mat-footer-row {
You can’t perform that action at this time.
0 commit comments