mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +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-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;
|
||||
|
||||
|
Reference in New Issue
Block a user