File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ $mat-drawer-over-drawer-z-index: 4;
102
102
}
103
103
104
104
.mat-drawer {
105
+ $high-contrast-border : solid 1px currentColor ;
106
+
105
107
@include mat-drawer-stacking-context ($mat-drawer-over-drawer-z-index );
106
108
107
109
display : block ;
@@ -114,6 +116,19 @@ $mat-drawer-over-drawer-z-index: 4;
114
116
overflow-y : auto ; // TODO(kara): revisit scrolling behavior for drawers
115
117
transform : translate3d (-100% , 0 , 0 );
116
118
119
+ & , [dir = ' rtl' ] & .mat-drawer-end {
120
+ @include cdk-high-contrast {
121
+ border-right : $high-contrast-border ;
122
+ }
123
+ }
124
+
125
+ [dir = ' rtl' ] & , & .mat-drawer-end {
126
+ @include cdk-high-contrast {
127
+ border-left : $high-contrast-border ;
128
+ border-right : none ;
129
+ }
130
+ }
131
+
117
132
& .mat-drawer-side {
118
133
z-index : $mat-drawer-side-drawer-z-index ;
119
134
}
You can’t perform that action at this time.
0 commit comments