Skip to content

Commit acec424

Browse files
committed
fix mat-list-icon
1 parent 535dce4 commit acec424

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

src/dev-app/list/list-demo.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ <h2>Nav lists</h2>
100100
<a mat-list-item *ngFor="let link of links; last as last" href="http://www.google.com">
101101
<mat-icon mat-list-icon>folder</mat-icon>
102102
<span mat-line>{{ link.name }}</span>
103-
<span mat-line class="demo-secondary-text"> Description </span>
104-
<mat-divider inset *ngIf="!last"></mat-divider>
105103
</a>
106104
</mat-nav-list>
107105
</div>

src/dev-app/list/list-demo.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
margin-top: 20px;
1212
}
1313

14-
.mat-icon {
14+
.mat-icon-button {
1515
color: rgba(0, 0, 0, 0.12);
1616
}
1717

1818
.mat-list-icon {
19-
color: white;
20-
background: rgba(0, 0, 0, 0.3);
19+
color: rgba(0,0,0,.38)
2120
}
2221
}
2322

src/dev-app/mdc-list/mdc-list-demo.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ <h2>Nav lists</h2>
100100
<a mat-list-item *ngFor="let link of links; last as last" href="http://www.google.com">
101101
<mat-icon mat-list-icon>folder</mat-icon>
102102
<span mat-line>{{ link.name }}</span>
103-
<span mat-line> Description </span>
104-
<mat-divider inset *ngIf="!last"></mat-divider>
105103
</a>
106104
</mat-nav-list>
107105
</div>

src/dev-app/mdc-list/mdc-list-demo.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
margin-top: 20px;
1313
}
1414

15-
.mat-icon {
15+
.mat-mdc-icon-button {
1616
color: rgba(0, 0, 0, 0.12);
1717
}
1818

19-
.mat-mdc-list-icon {
19+
/*.mat-mdc-list-icon {
2020
color: white;
2121
background: rgba(0, 0, 0, 0.3);
22-
}
22+
}*/
2323
}
2424

2525
.demo-secondary-text {

0 commit comments

Comments
 (0)