Skip to content

Commit

Permalink
chore(dialog-modal): remove comment above content style
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerAPfledderer committed Dec 29, 2024
1 parent d050268 commit 23bab1d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/components/ui/dialog-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ import { Center, Flex } from "./flex"
const dialogVariant = tv({
slots: {
content:
/**
* `size-[calc(-2rem_+_100%)]` provides 16px x- and y-spacing
* around the container instead of using `margin` to
* avoid positioning side-effects.
* (The container is fixed-positioned)
*
* Credit: Chakra v2 takes a similar approach for modal
*/
"data-[state=open]:animate-contentShow w-full grid gap-4 rounded-md bg-background p-8 shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none z-modal",
overlay:
"data-[state=open]:animate-overlayShow overflow-y-auto p-4 grid place-items-center fixed inset-0 bg-black/70 z-overlay",
Expand Down

0 comments on commit 23bab1d

Please sign in to comment.