Skip to content

Commit ec527df

Browse files
committed
fix(list): fix padding for list items
1 parent 4ca16d7 commit ec527df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/list/list.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ $mat-dense-list-icon-size: 20px;
8080
@include mat-line-wrapper-base();
8181
padding: 0 $mat-list-side-padding;
8282

83-
&:first-child {
83+
&:nth-child(2) {
8484
padding: 0;
8585
}
8686
}

0 commit comments

Comments
 (0)