From 275de5150c1d630168ff7b5371def2f508f28165 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 20 Jul 2018 16:51:55 +0200 Subject: [PATCH] fix(menu): showing scrollbars on first open in Edge if item width is set (#12141) --- src/lib/core/style/_menu-common.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/core/style/_menu-common.scss b/src/lib/core/style/_menu-common.scss index 87c254c0dbb..759968beb8f 100644 --- a/src/lib/core/style/_menu-common.scss +++ b/src/lib/core/style/_menu-common.scss @@ -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; }