mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(menu): showing scrollbars on first open in Edge if item width is set (#12141)
This commit is contained in:
committed by
Joey Perrott
parent
3b2c5a6832
commit
275de5150c
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user