mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Jeremy Elbourn
parent
c8127ed290
commit
cc24c7c2f8
@@ -65,7 +65,7 @@ $mat-menu-submenu-indicator-size: 10px !default;
|
||||
}
|
||||
|
||||
[dir='rtl'] & {
|
||||
padding-right: $mat-menu-side-padding / 2;
|
||||
padding-right: $mat-menu-side-padding;
|
||||
padding-left: $mat-menu-side-padding * 2;
|
||||
|
||||
&::after {
|
||||
|
||||
Reference in New Issue
Block a user