speed up this animation
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 52s
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 52s
Took 4 minutes
This commit is contained in:
parent
f6a070851a
commit
26370ba3b6
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user