Skip to content

Commit cc24c7c

Browse files
crisbetojelbourn
authored andcommitted
fix(menu): inconsistent side padding for nested menu items in RTL (#9124)
Fixes the menu items inside of a sub-menu having half as much padding as they're supposed to in RTL.
1 parent c8127ed commit cc24c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/menu/menu.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $mat-menu-submenu-indicator-size: 10px !default;
6565
}
6666

6767
[dir='rtl'] & {
68-
padding-right: $mat-menu-side-padding / 2;
68+
padding-right: $mat-menu-side-padding;
6969
padding-left: $mat-menu-side-padding * 2;
7070

7171
&::after {

0 commit comments

Comments
 (0)