mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
feat(item): deprecate item-left / item-right attributes for item-start / item-end (#11125)
item-start and item-end make more sense for RTL * refactor(item): replaced item-left with item-start replaced item-right with item-end * style(item): fix spacing * fix(item): add backwards support for left/right in ng-content * fix(item): deprecated old variables, not breaking change * fix(scss): fix variable name * fix(item): old attributes deprecated support
This commit is contained in:
committed by
Brandy Carney
parent
6d11499417
commit
26c653e43e
@ -61,8 +61,10 @@ $label-wp-text-color-focused: color($colors-wp, primary) !default;
|
||||
transform: translate3d(0, 0, 0) scale(.8);
|
||||
}
|
||||
|
||||
.item-wp.item-label-stacked [item-right],
|
||||
.item-wp.item-label-floating [item-right] {
|
||||
.item-wp.item-label-stacked [item-right], // deprecated
|
||||
.item-wp.item-label-floating [item-right], // deprecated
|
||||
.item-wp.item-label-stacked [item-end],
|
||||
.item-wp.item-label-floating [item-end] {
|
||||
margin-top: $item-wp-padding-media-top + 4;
|
||||
margin-bottom: $item-wp-padding-media-top + 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user