From 22d566d1abb710730b8b1c3fca91488473037eba Mon Sep 17 00:00:00 2001 From: Joy Serquina Date: Fri, 7 Jun 2024 19:06:50 +0000 Subject: [PATCH] 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 --- src/material/list/list.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/list/list.scss b/src/material/list/list.scss index cf12baf2e88e..8cfa914a52a9 100644 --- a/src/material/list/list.scss +++ b/src/material/list/list.scss @@ -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.