Skip to content

Commit

Permalink
fix(material/menu): invert arrow in RTL
Browse files Browse the repository at this point in the history
Fixes a regression from #28470 where the nested menu icon isn't being inverted in RTL anymore.

Fixes #28813.
  • Loading branch information
crisbeto committed Apr 5, 2024
1 parent 2b49d8c commit 8f37c14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/material/core/style/_menu-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ $icon-margin: 16px !default;
width: $icon-size;
height: 10px;
fill: currentColor;
padding-left: $item-spacing;
margin-left: $item-spacing;

[dir='rtl'] & {
right: auto;
padding-right: $item-spacing;
padding-left: 0;
margin-right: $item-spacing;
margin-left: 0;
transform: scaleX(-1);
}

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

0 comments on commit 8f37c14

Please sign in to comment.