File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ $mat-paginator-button-last-increment-icon-margin: 9px;
45
45
display : flex ;
46
46
align-items : baseline ;
47
47
margin-right : $mat-paginator-page-size-margin-right ;
48
+
49
+ [dir = ' rtl' ] & {
50
+ margin-right : 0 ;
51
+ margin-left : $mat-paginator-page-size-margin-right ;
52
+ }
48
53
}
49
54
50
55
.mat-paginator-page-size-label {
Original file line number Diff line number Diff line change @@ -34,11 +34,16 @@ $mat-sort-header-arrow-hint-opacity: 0.38;
34
34
height : $mat-sort-header-arrow-container-size ;
35
35
width : $mat-sort-header-arrow-container-size ;
36
36
min-width : $mat-sort-header-arrow-container-size ;
37
- margin : 0 0 0 $mat-sort-header-arrow-margin ;
38
37
position : relative ;
39
38
display : flex ;
40
39
41
- .mat-sort-header-position-before & {
40
+ & ,
41
+ [dir = ' rtl' ] .mat-sort-header-position-before & {
42
+ margin : 0 0 0 $mat-sort-header-arrow-margin ;
43
+ }
44
+
45
+ .mat-sort-header-position-before & ,
46
+ [dir = ' rtl' ] & {
42
47
margin : 0 $mat-sort-header-arrow-margin 0 0 ;
43
48
}
44
49
}
Original file line number Diff line number Diff line change @@ -36,10 +36,20 @@ mat-row, mat-header-row {
36
36
37
37
mat-cell :first-child , mat-header-cell :first-child {
38
38
padding-left : $mat-row-horizontal-padding ;
39
+
40
+ [dir = ' rtl' ] & {
41
+ padding-left : 0 ;
42
+ padding-right : $mat-row-horizontal-padding ;
43
+ }
39
44
}
40
45
41
46
mat-cell :last-child , mat-header-cell :last-child {
42
47
padding-right : $mat-row-horizontal-padding ;
48
+
49
+ [dir = ' rtl' ] & {
50
+ padding-right : 0 ;
51
+ padding-left : $mat-row-horizontal-padding ;
52
+ }
43
53
}
44
54
45
55
mat-cell , mat-header-cell {
You can’t perform that action at this time.
0 commit comments