Skip to content

Commit

Permalink
fix(list): list items will not escape their parent when parent width …
Browse files Browse the repository at this point in the history
…is restricted

PiperOrigin-RevId: 572988261
  • Loading branch information
material-web-copybara authored and copybara-github committed Oct 12, 2023
1 parent 19a2ea2 commit 4b00a95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions list/internal/listitem/_list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
border-radius: inherit;
display: flex;
flex: 1;
max-width: inherit;
min-width: inherit;
outline: none;
// hide android tap color since we have ripple
-webkit-tap-highlight-color: transparent;
Expand Down
2 changes: 2 additions & 0 deletions menu/internal/menuitem/_menu-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@
border-radius: inherit;
display: flex;
flex: 1;
max-width: inherit;
min-width: inherit;
outline: none;
// hide android tap color since we have ripple
-webkit-tap-highlight-color: transparent;
Expand Down

0 comments on commit 4b00a95

Please sign in to comment.