From d0350f06d3f75b23bc3687b72b5dfc48802e95c0 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 3 Jan 2018 13:12:40 +0100 Subject: [PATCH] fix(list): prevent list icon shrinking * 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 66fe8b1c052b..5629bab50e5a 100644 --- a/src/lib/list/list.scss +++ b/src/lib/list/list.scss @@ -111,6 +111,7 @@ $mat-list-item-inset-divider-offset: 72px; } .mat-list-icon { + flex-shrink: 0; width: $icon-size; height: $icon-size; font-size: $icon-size;