Skip to content

Commit 00f8084

Browse files
committed
fix scss
1 parent 85c026a commit 00f8084

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/material/core/style/_vendor-prefixes.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,9 @@
3838
-webkit-backface-visibility: $value;
3939
backface-visibility: $value;
4040
}
41+
42+
@mixin position-sticky {
43+
position: -webkit-sticky;
44+
position: sticky;
45+
}
4146
/* stylelint-enable */

src/material/table/table.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use '../core/style/vendor-prefixes';
2+
13
$mat-header-row-height: 56px;
24
$mat-row-height: 48px;
35
$mat-row-horizontal-padding: 24px;
@@ -116,6 +118,5 @@ th.mat-header-cell:last-of-type, td.mat-cell:last-of-type, td.mat-footer-cell:la
116118
}
117119

118120
.mat-table-sticky {
119-
position: -webkit-sticky;
120-
position: sticky;
121+
@include vendor-prefixes.position-sticky;
121122
}

0 commit comments

Comments
 (0)