mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(itemReorder): animate reorder button
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
ion-reorder {
|
||||
display: none;
|
||||
display: flex;
|
||||
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
@@ -15,6 +15,10 @@ ion-reorder {
|
||||
font-size: 1.45em;
|
||||
opacity: .5;
|
||||
|
||||
transform: translate3d(120%, 0, 0);
|
||||
|
||||
transition: transform 125ms ease-in;
|
||||
|
||||
pointer-events: all;
|
||||
touch-action: manipulation;
|
||||
|
||||
@@ -33,7 +37,8 @@ ion-reorder {
|
||||
}
|
||||
|
||||
ion-reorder {
|
||||
display: flex;
|
||||
transform: translate3d(0, 0, 0);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user