Skip to content

Commit

Permalink
fix: missing opening sheet animation
Browse files Browse the repository at this point in the history
  • Loading branch information
TBroz15 committed Dec 26, 2024
1 parent 12a0685 commit 51658a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/src/registry/ui/sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const sheetVariants = cva(
top: "inset-x-0 top-0 border-b data-[closed=]:slide-out-to-top data-[expanded=]:slide-in-from-top",
bottom:
"inset-x-0 bottom-0 border-t data-[closed=]:slide-out-to-bottom data-[expanded=]:slide-in-from-bottom",
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[closed=]:slide-out-to-left data-[expanded]:slide-in-from-left sm:max-w-sm",
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[closed=]:slide-out-to-left data-[expanded=]:slide-in-from-left sm:max-w-sm",
right:
"inset-y-0 right-0 h-full w-3/4 border-l data-[closed=]:slide-out-to-right data-[expanded=]:slide-in-from-right sm:max-w-sm"
}
Expand Down

0 comments on commit 51658a4

Please sign in to comment.