We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da302d2 commit 752f560Copy full SHA for 752f560
src/material/core/style/_menu-common.scss
@@ -63,12 +63,18 @@ $icon-margin: 16px !default;
63
width: $icon-size;
64
height: 10px;
65
fill: currentColor;
66
+
67
+ // We use `padding` here, because the margin can collapse depending on the other content.
68
padding-left: $item-spacing;
69
70
[dir='rtl'] & {
- right: auto;
71
padding-right: $item-spacing;
72
padding-left: 0;
73
74
+ // Invert the arrow direction.
75
+ polygon {
76
+ transform: scaleX(-1);
77
+ }
78
}
79
80
// Fix for Chromium-based browsers blending in the `currentColor` with the background.
0 commit comments