mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
refactor(label): fix margin for item right in stacked/floating labels
references #5731
This commit is contained in:
@ -52,7 +52,8 @@ ion-label[floating] {
|
|||||||
|
|
||||||
.item-label-stacked [item-right],
|
.item-label-stacked [item-right],
|
||||||
.item-label-floating [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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -60,7 +60,8 @@ ion-label[floating] {
|
|||||||
|
|
||||||
.item-label-stacked [item-right],
|
.item-label-stacked [item-right],
|
||||||
.item-label-floating [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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,7 +54,8 @@ ion-label[floating] {
|
|||||||
|
|
||||||
.item-label-stacked [item-right],
|
.item-label-stacked [item-right],
|
||||||
.item-label-floating [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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user