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.
This commit is contained in:
Kristiyan Kostadinov
2017-04-17 23:32:57 +02:00
committed by Jeremy Elbourn
parent d20a4ca3fa
commit e263fb7807
+1
View File
@@ -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;
}