Skip to content

Commit 23bab1d

Browse files
chore(dialog-modal): remove comment above content style
1 parent d050268 commit 23bab1d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/components/ui/dialog-modal.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ import { Center, Flex } from "./flex"
1111
const dialogVariant = tv({
1212
slots: {
1313
content:
14-
/**
15-
* `size-[calc(-2rem_+_100%)]` provides 16px x- and y-spacing
16-
* around the container instead of using `margin` to
17-
* avoid positioning side-effects.
18-
* (The container is fixed-positioned)
19-
*
20-
* Credit: Chakra v2 takes a similar approach for modal
21-
*/
2214
"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",
2315
overlay:
2416
"data-[state=open]:animate-overlayShow overflow-y-auto p-4 grid place-items-center fixed inset-0 bg-black/70 z-overlay",

0 commit comments

Comments
 (0)