From 5737b9fd89f21ee581d50d9d31c0029b957ed60d Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 12 Jan 2018 16:07:27 +0100 Subject: [PATCH] fix(list): prevent list icon shrinking (#9211) * Since the list-item uses flexbox, it can happen that the `matListIcon` shrinks to make place for the `mat-list-text`. Similar as for the `matListAvatar` shrinking should be disabled for the `matListIcon`. Fixes #8699 --- src/lib/list/list.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/list/list.scss b/src/lib/list/list.scss index 2e233d8873b..6c8583e9d53 100644 --- a/src/lib/list/list.scss +++ b/src/lib/list/list.scss @@ -134,6 +134,7 @@ $mat-list-item-inset-divider-offset: 72px; } .mat-list-icon { + flex-shrink: 0; width: $icon-size; height: $icon-size; font-size: $icon-size;