Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/material/core/style/_menu-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,18 @@ $icon-margin: 16px !default;
width: $icon-size;
height: 10px;
fill: currentColor;

// We use `padding` here, because the margin can collapse depending on the other content.
padding-left: $item-spacing;

[dir='rtl'] & {
right: auto;
padding-right: $item-spacing;
padding-left: 0;

// Invert the arrow direction.
polygon {
transform: scaleX(-1);
}
}

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