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 @@ -33,10 +33,20 @@ $mat-row-horizontal-padding: 24px;
33
33
34
34
.mat-cell :first-child , .mat-header-cell :first-child {
35
35
padding-left : $mat-row-horizontal-padding ;
36
+
37
+ [dir = ' rtl' ] & {
38
+ padding-left : 0 ;
39
+ padding-right : $mat-row-horizontal-padding ;
40
+ }
36
41
}
37
42
38
43
.mat-cell :last-child , .mat-header-cell :last-child {
39
44
padding-right : $mat-row-horizontal-padding ;
45
+
46
+ [dir = ' rtl' ] & {
47
+ padding-right : 0 ;
48
+ padding-left : $mat-row-horizontal-padding ;
49
+ }
40
50
}
41
51
42
52
.mat-cell , .mat-header-cell {
You can’t perform that action at this time.
0 commit comments