Skip to content

Commit 8f37c14

Browse files
committed
fix(material/menu): invert arrow in RTL
Fixes a regression from #28470 where the nested menu icon isn't being inverted in RTL anymore. Fixes #28813.
1 parent 2b49d8c commit 8f37c14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/material/core/style/_menu-common.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ $icon-margin: 16px !default;
6363
width: $icon-size;
6464
height: 10px;
6565
fill: currentColor;
66-
padding-left: $item-spacing;
66+
margin-left: $item-spacing;
6767

6868
[dir='rtl'] & {
69-
right: auto;
70-
padding-right: $item-spacing;
71-
padding-left: 0;
69+
margin-right: $item-spacing;
70+
margin-left: 0;
71+
transform: scaleX(-1);
7272
}
7373

7474
// Fix for Chromium-based browsers blending in the `currentColor` with the background.

0 commit comments

Comments
 (0)