Skip to content

Commit b303a04

Browse files
committed
refactor(material/list): list item truncates on narrow screen widths
Updates the padding for the previous fix to Angular Components List component for the list item truncating on narrow screen widths. Fixes b/291296866
1 parent ba44a7a commit b303a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/list/list.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ a.mdc-list-item--activated {
177177
.mat-mdc-list-item.mdc-list-item--with-three-lines,
178178
.mat-mdc-list-item.mdc-list-item--with-two-lines {
179179
height: auto;
180-
padding: 13px;
180+
padding-bottom: 13px;
181181
// List item lines must wrap according to GAR 1.18(b). Removing the nowrap and
182182
// adjusts .mat-mdc-list-item-title.mdc-list-item__primary-text height
183183
// to accommodate any wrapping text. Fixes: b/247881646.

0 commit comments

Comments
 (0)