feat(list): add dividers to lists

This commit is contained in:
Kara Erickson
2016-04-04 14:41:07 -07:00
parent 0a9c169f0c
commit 915dd9baff
2 changed files with 8 additions and 3 deletions
+7
View File
@@ -175,4 +175,11 @@ md-list[dense] {
@include md-line-base($md-dense-font-size);
}
}
md-divider {
display: block;
border-top: 1px solid md-color($md-foreground, divider);
margin: 0;
}
+1 -3
View File
@@ -32,9 +32,7 @@
<span class="demo-secondary-text">{{message.message}}</span>
</p>
</md-list-item>
</md-list>
<md-list>
<md-divider></md-divider>
<md-list-item *ngFor="#message of messages">
<h4 md-line>{{message.from}}</h4>
<p md-line> {{message.subject}} </p>