updated toast animation
This commit is contained in:
@@ -215,22 +215,22 @@
|
|||||||
@keyframes toastSlideIn {
|
@keyframes toastSlideIn {
|
||||||
from {
|
from {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: translateX(calc(100% + var(--viewport-padding)));
|
transform: translateY(calc(100% + var(--viewport-padding)));
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translateX(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes toastSlideOut {
|
@keyframes toastSlideOut {
|
||||||
from {
|
from {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translateX(var(--reka-toast-swipe-end-x));
|
transform: translateY(var(--reka-toast-swipe-end-x));
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: translateX(calc(100% + var(--viewport-padding)));
|
transform: translateY(calc(100% + var(--viewport-padding)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -281,6 +281,10 @@
|
|||||||
|
|
||||||
/* CONTAINER */
|
/* CONTAINER */
|
||||||
|
|
||||||
|
* {
|
||||||
|
scroll-behavior: smooth !important;
|
||||||
|
}
|
||||||
|
|
||||||
@utility container {
|
@utility container {
|
||||||
@apply mx-auto px-[var(--app-container-padding)] w-full max-sm:max-w-[var(--breakpoint-xs)] max-md:max-w-[var(--breakpoint-sm)] max-lg:max-w-[var(--breakpoint-md)] max-xl:max-w-[var(--breakpoint-lg)] max-w-[var(--breakpoint-2xl)];
|
@apply mx-auto px-[var(--app-container-padding)] w-full max-sm:max-w-[var(--breakpoint-xs)] max-md:max-w-[var(--breakpoint-sm)] max-lg:max-w-[var(--breakpoint-md)] max-xl:max-w-[var(--breakpoint-lg)] max-w-[var(--breakpoint-2xl)];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user