mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(item): get expandable working on the button
This commit is contained in:
@ -132,7 +132,7 @@ ion-item-sliding.active-slide {
|
|||||||
// Item Expandable Animation
|
// Item Expandable Animation
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
.item-option-button[expandable] {
|
ion-item-option[expandable] .item-option-button {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
transition-duration: 0;
|
transition-duration: 0;
|
||||||
@ -140,7 +140,7 @@ ion-item-sliding.active-slide {
|
|||||||
transition-timing-function: cubic-bezier(.65, .05, .36, 1);
|
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-duration: .6s;
|
||||||
transition-property: padding-left;
|
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-duration: .6s;
|
||||||
transition-property: padding-right;
|
transition-property: padding-right;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user