mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
d20a4ca3fa
commit
e263fb7807
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user