fix(range): ion-label stacked with ion-range (#7050)

fixes #7046
This commit is contained in:
Manu Mtz.-Almeida
2016-07-08 20:34:46 +02:00
committed by Brandy Carney
parent 55bc32dafe
commit 5a8fe82c3a
2 changed files with 3 additions and 3 deletions

View File

@ -40,8 +40,8 @@ ion-label[fixed] {
max-width: 200px;
}
.item-label-stacked ion-label,
.item-label-floating ion-label {
.item-label-stacked > ion-label,
.item-label-floating > ion-label {
align-self: stretch;
width: auto;

View File

@ -28,7 +28,7 @@
</ion-item>
<ion-item>
<ion-label>init=150, min=-200, max=200</ion-label>
<ion-label stacked>init=150, min=-200, max=200</ion-label>
<ion-range min="-200" max="200" [(ngModel)]="singleValue2" secondary>
<ion-label range-left>-200</ion-label>
<ion-label range-right>200</ion-label>