Skip to content

Commit 04ae202

Browse files
authored
fix(material/sidenav): end positioned sidenav not opening in RTL (angular#30427)
Fixes a regression that happened when we switched the sidenav away from the animations module. The specificity of the selector that shows the sidenav was decreased which meant that the RTL styles were overriding it. Fixes angular#30422.
1 parent 1b3c42e commit 04ae202

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/material/sidenav/drawer.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ $drawer-over-drawer-z-index: 4;
230230
}
231231
}
232232

233-
&.mat-drawer-opened {
233+
// Needs additional specificity to override the RTL styles.
234+
&.mat-drawer-opened.mat-drawer-opened {
234235
transform: none;
235236
}
236237
}

0 commit comments

Comments
 (0)