refactor(label): fix margin for item right in stacked/floating labels

references #5731
This commit is contained in:
Brandy Carney
2016-03-09 15:14:41 -05:00
parent 8bba963948
commit f9aa9c27c0
3 changed files with 6 additions and 3 deletions

View File

@ -52,7 +52,8 @@ ion-label[floating] {
.item-label-stacked [item-right],
.item-label-floating [item-right] {
margin-top: $item-ios-padding-media-top + 2;
margin-top: $item-ios-padding-media-top - 2;
margin-bottom: $item-ios-padding-media-bottom - 2;
}

View File

@ -60,7 +60,8 @@ ion-label[floating] {
.item-label-stacked [item-right],
.item-label-floating [item-right] {
margin-top: $item-md-padding-media-top + 2;
margin-top: $item-md-padding-media-top - 2;
margin-bottom: $item-md-padding-media-bottom - 2;
}

View File

@ -54,7 +54,8 @@ ion-label[floating] {
.item-label-stacked [item-right],
.item-label-floating [item-right] {
margin-top: $item-wp-padding-media-top + 2;
margin-top: $item-wp-padding-media-top + 4;
margin-bottom: $item-wp-padding-media-top + 4;
}