Skip to content

Commit

Permalink
fix(range): ion-label stacked with ion-range (#7050)
Browse files Browse the repository at this point in the history
fixes #7046
  • Loading branch information
manucorporat authored and brandyscarney committed Jul 8, 2016
1 parent 55bc32d commit 5a8fe82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/label/label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/components/range/test/basic/page1.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5a8fe82

Please sign in to comment.