Skip to content

Commit a3b28df

Browse files
authored
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.
1 parent 556bcc3 commit a3b28df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/menu/menu.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ mat-menu {
128128
}
129129

130130
.mat-icon {
131+
flex-shrink: 0;
131132
margin-right: mdc-list-variables.$side-padding;
132133
}
133134

0 commit comments

Comments
 (0)