From a3b28df38c393d47de6dd88b50a3a587869241fa Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 8 Feb 2024 14:37:06 +0100 Subject: [PATCH] fix(material/menu): prevent icon from collapsing when text is long (#28541) Fixes that the icon the menu item was collapsing if the menu item text was too long. Fixes #28502. --- src/material/menu/menu.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/material/menu/menu.scss b/src/material/menu/menu.scss index bd608743bee1..97f0104f1803 100644 --- a/src/material/menu/menu.scss +++ b/src/material/menu/menu.scss @@ -128,6 +128,7 @@ mat-menu { } .mat-icon { + flex-shrink: 0; margin-right: mdc-list-variables.$side-padding; }