Skip to content

Commit

Permalink
fix(menu): showing scrollbars on first open in Edge if item width is …
Browse files Browse the repository at this point in the history
…set (#12141)
  • Loading branch information
crisbeto authored and josephperrott committed Jul 20, 2018
1 parent 3b2c5a6 commit 275de51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/core/style/_menu-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ $mat-menu-icon-margin: 16px !default;
text-align: left;
text-decoration: none; // necessary to reset anchor tags

// Required for Edge not to show scrollbars when setting the width manually. See #12112.
max-width: 100%;

&[disabled] {
cursor: default;
}
Expand Down

0 comments on commit 275de51

Please sign in to comment.