fix: make toast animate reverse on mobile

This commit is contained in:
p-sw 2024-06-03 14:50:58 +09:00
parent 8760c91c0c
commit c3bfe665a8

View File

@ -34,9 +34,9 @@ const [toastVariant] = vcn({
loading: toastColors.borders.loading, loading: toastColors.borders.loading,
}, },
life: { life: {
born: "translate-y-full scale-90 ease-[cubic-bezier(0,.6,.7,1)]", born: "-translate-y-full md:translate-y-full scale-90 ease-[cubic-bezier(0,.6,.7,1)]",
normal: "translate-y-0 scale-100 ease-[cubic-bezier(0,.6,.7,1)]", normal: "translate-y-0 scale-100 ease-[cubic-bezier(0,.6,.7,1)]",
dead: "translate-y-full scale-90 ease-[cubic-bezier(.6,0,1,.7)]", dead: "-translate-y-full md:translate-y-full scale-90 ease-[cubic-bezier(.6,0,1,.7)]",
}, },
}, },
defaults: { defaults: {