Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

docs(list): fix list icon tag and styling #130

Merged
merged 1 commit into from
Mar 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/app/examples/list-sections/list-sections-example.css
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/** No CSS for this example */
.mat-list-icon {
color: rgba(0,0,0,0.54);
}

4 changes: 2 additions & 2 deletions src/app/examples/list-sections/list-sections-example.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<md-list>
<h3 md-subheader>Folders</h3>
<md-list-item *ngFor="let folder of folders">
<md-icon md-list-avatar>folder</md-icon>
<md-icon md-list-icon>folder</md-icon>
<h4 md-line>{{folder.name}}</h4>
<p md-line> {{folder.updated | date}} </p>
</md-list-item>
<md-divider></md-divider>
<h3 md-subheader>Notes</h3>
<md-list-item *ngFor="let note of notes">
<md-icon md-list-avatar>note</md-icon>
<md-icon md-list-icon>note</md-icon>
<h4 md-line>{{note.name}}</h4>
<p md-line> {{note.updated | date}} </p>
</md-list-item>
Expand Down
1 change: 1 addition & 0 deletions src/app/examples/list-sections/list-sections-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'list-sections-example',
styleUrls: ['./list-sections-example.css'],
templateUrl: './list-sections-example.html',
})
export class ListSectionsExample {
Expand Down