Skip to content

Commit efe483a

Browse files
grizzm0jelbourn
authored andcommitted
fix(list): subheader margin being overwritten by typography (#6735)
1 parent 255611b commit efe483a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/list/list.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ $mat-dense-list-icon-size: 20px;
118118

119119
// This needs slightly more specificity, because it
120120
// can be overwritten by the typography styles.
121-
.mat-list & {
121+
.mat-list &,
122+
.mat-nav-list &,
123+
.mat-selection-list & {
122124
margin: 0;
123125
}
124126
}

0 commit comments

Comments
 (0)