Merge pull request #12691 from ccozkan/use-vertical-transitions-for-cloning-and-deleting

Use vertical transitions for cloning and deleting products
This commit is contained in:
Konrad
2024-07-28 18:25:07 +02:00
committed by GitHub

View File

@@ -435,33 +435,31 @@
}
}
@keyframes slideOutLeft {
@keyframes slideOutTop {
from {
transform: translateX(0);
opacity: 1;
transform: scaleY(1);
}
to {
transform: translateX(-100%);
opacity: 0;
transform: scaleY(0);
}
}
.slide-out {
animation: slideOutLeft 0.5s forwards;
transform-origin: top;
animation: slideOutTop 0.5s forwards;
}
@keyframes slideInRight {
@keyframes slideInTop {
from {
transform: translateX(100%);
opacity: 0;
transform: scaleY(0);
}
to {
transform: translateX(0);
opacity: 1;
transform: scaleY(1);
}
}
.slide-in {
animation: slideInRight 0.5s forwards;
transform-origin: top;
animation: slideInTop 0.5s forwards;
}
}