Skip to content

Commit 5ef3084

Browse files
crisbetokara
authored andcommitted
fix(menu): incorrect text alignment in IE/Edge (#3268)
Fixes #3254.
1 parent 369931e commit 5ef3084

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/core/style/_menu-common.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,17 @@ $mat-menu-side-padding: 16px !default;
3232

3333
font-size: $mat-menu-font-size;
3434
font-family: $mat-font-family;
35-
text-align: start;
35+
text-align: left;
3636
text-decoration: none; // necessary to reset anchor tags
3737

3838
&[disabled] {
3939
cursor: default;
4040
}
4141

42+
[dir='rtl'] & {
43+
text-align: right;
44+
}
45+
4246
.mat-icon {
4347
margin-right: 16px;
4448

0 commit comments

Comments
 (0)