fix(item): get expandable working on the button

This commit is contained in:
Brandy Carney
2017-07-19 16:10:54 -04:00
parent 25ff3e2762
commit d032e60dda

View File

@ -132,7 +132,7 @@ ion-item-sliding.active-slide {
// Item Expandable Animation
// --------------------------------------------------
.item-option-button[expandable] {
ion-item-option[expandable] .item-option-button {
flex-shrink: 0;
transition-duration: 0;
@ -140,7 +140,7 @@ ion-item-sliding.active-slide {
transition-timing-function: cubic-bezier(.65, .05, .36, 1);
}
ion-item-sliding.active-swipe-right .item-option-button[expandable] {
ion-item-sliding.active-swipe-right ion-item-option[expandable] .item-option-button {
transition-duration: .6s;
transition-property: padding-left;
@ -158,7 +158,7 @@ ion-item-sliding.active-swipe-right .item-option-button[expandable] {
}
}
ion-item-sliding.active-swipe-left .item-option-button[expandable] {
ion-item-sliding.active-swipe-left ion-item-option[expandable] .item-option-button {
transition-duration: .6s;
transition-property: padding-right;