Skip to content

Commit

Permalink
refactor(material/list): list item truncates on narrow screen widths
Browse files Browse the repository at this point in the history
Updates the padding for the previous fix to Angular Components List
component for the list item truncating on narrow screen widths.

Fixes b/291296866
  • Loading branch information
essjay05 committed Jun 12, 2024
1 parent 9d336a8 commit 22d566d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/list/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ a.mdc-list-item--activated {
.mat-mdc-list-item.mdc-list-item--with-three-lines,
.mat-mdc-list-item.mdc-list-item--with-two-lines {
height: auto;
padding: 13px;
padding-bottom: 13px;
// List item lines must wrap according to GAR 1.18(b). Removing the nowrap and
// adjusts .mat-mdc-list-item-title.mdc-list-item__primary-text height
// to accommodate any wrapping text. Fixes: b/247881646.
Expand Down

0 comments on commit 22d566d

Please sign in to comment.