speed up this animation
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 52s

Took 4 minutes
This commit is contained in:
Braydon 2024-10-06 17:56:40 -04:00
parent f6a070851a
commit 26370ba3b6

View File

@ -31,7 +31,7 @@ const SheetOverlay = React.forwardRef<
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
const sheetVariants = cva(
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-[450ms] data-[state=open]:duration-[450ms] data-[state=open]:animate-in data-[state=closed]:animate-out",
{
variants: {
side: {