fix(list): subheader margin being overwritten by typography (#6735)

This commit is contained in:
Kristofer Karlsson
2017-09-01 16:50:36 +02:00
committed by Jeremy Elbourn
parent 255611b1ad
commit efe483afed
+3 -1
View File
@@ -118,7 +118,9 @@ $mat-dense-list-icon-size: 20px;
// This needs slightly more specificity, because it
// can be overwritten by the typography styles.
.mat-list & {
.mat-list &,
.mat-nav-list &,
.mat-selection-list & {
margin: 0;
}
}