From e263fb78075473a2997a3b6f6306f254b92efc99 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 17 Apr 2017 23:32:57 +0200 Subject: [PATCH] fix(list): set explicit box-sizing on icon (#3876) Sets an explicit `box-sizing` on the icons inside of lists, in order to avoid alignment issues if the consumer uses `border-box` globally. Fixes #3863. --- 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 87af34e364c..e3a5f44d6ad 100644 --- a/src/lib/list/list.scss +++ b/src/lib/list/list.scss @@ -88,6 +88,7 @@ $mat-dense-list-icon-size: 20px; width: $icon-size; height: $icon-size; font-size: $icon-size; + box-sizing: content-box; border-radius: 50%; padding: 4px; }