refactor(item): changed notes from a class to an element

Closes #251
This commit is contained in:
Brandy Carney
2015-10-06 13:30:58 -04:00
parent 0e2ac93382
commit fcd8a34dff
7 changed files with 46 additions and 47 deletions

View File

@@ -14,9 +14,9 @@ import {dom} from 'ionic/util';
* <ion-list>
* <ion-item *ng-for="#item of items" (click)="itemTapped($event, item)">
* {{item.title}}
* <div class="item-note" item-right>
* <ion-note item-right>
* {{item.note}}
* </div>
* </ion-note>
* </ion-item>
* </ion-list>
* ```

View File

@@ -134,7 +134,7 @@ $item-ios-divider-padding: 5px 15px !default;
margin-bottom: 1px;
}
.item-note {
ion-note {
color: $item-ios-note-color;
}

View File

@@ -137,7 +137,7 @@ $item-md-divider-padding: 5px 15px !default;
line-height: $item-md-body-text-line-height;
}
.item-note {
ion-note {
color: $item-md-note-color;
}