Skip to content

Commit 11639e0

Browse files
authored
Merge pull request #1 from rockey2020/rockey2020-patch-1
Standardize components, fix the Close component missing data-slot="di…
2 parents 9f4d65f + 7b9d0f6 commit 11639e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/v4/registry/new-york-v4/ui/dialog.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ function DialogContent({
6363
{...props}
6464
>
6565
{children}
66-
<DialogPrimitive.Close className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4">
66+
<DialogClose className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4">
6767
<XIcon />
6868
<span className="sr-only">Close</span>
69-
</DialogPrimitive.Close>
69+
</DialogClose>
7070
</DialogPrimitive.Content>
7171
</DialogPortal>
7272
)

0 commit comments

Comments
 (0)