From 23bab1df21f93855a21de37ae53c800f5148bd48 Mon Sep 17 00:00:00 2001 From: tylerapfledderer Date: Sat, 28 Dec 2024 20:45:12 -0500 Subject: [PATCH] chore(dialog-modal): remove comment above content style --- src/components/ui/dialog-modal.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/ui/dialog-modal.tsx b/src/components/ui/dialog-modal.tsx index 2d69c3a9553..0ec69203a1c 100644 --- a/src/components/ui/dialog-modal.tsx +++ b/src/components/ui/dialog-modal.tsx @@ -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",