Skip to content

Commit

Permalink
fix(material/menu): prevent icon from collapsing when text is long (#…
Browse files Browse the repository at this point in the history
…28541)

Fixes that the icon the menu item was collapsing if the menu item text was too long.

Fixes #28502.

(cherry picked from commit a3b28df)
  • Loading branch information
crisbeto committed Feb 8, 2024
1 parent f9621a7 commit 044c9ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/material/menu/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ mat-menu {
}

.mat-icon {
flex-shrink: 0;
margin-right: mdc-list-variables.$side-padding;
}

Expand Down

0 comments on commit 044c9ba

Please sign in to comment.