From 9edce4dfa5f7c4efecd0f39fb4fd4a4c9863fe6e Mon Sep 17 00:00:00 2001
From: l3wdfut4pwr l3wdfut4pwr <l3wdfut4pwr@gmail.com>
Date: Sat, 31 Jan 2026 20:33:22 +0200
Subject: add register and reset dialogs

---
 src/components/ui/dialog.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'src/components/ui/dialog.tsx')

diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx
index 46fe445..1aaba43 100644
--- a/src/components/ui/dialog.tsx
+++ b/src/components/ui/dialog.tsx
@@ -60,7 +60,7 @@ function DialogContent({
             <DialogPrimitive.Content
                 data-slot="dialog-content"
                 className={cn(
-                    'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg',
+                    'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border shadow-lg duration-200 outline-none sm:max-w-lg',
                     className,
                 )}
                 {...props}
@@ -70,9 +70,7 @@ function DialogContent({
                     <DialogPrimitive.Close
                         data-slot="dialog-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"
-                    >
-                        <span className="sr-only">Close</span>
-                    </DialogPrimitive.Close>
+                    ></DialogPrimitive.Close>
                 )}
             </DialogPrimitive.Content>
         </DialogPortal>
-- 
cgit v1.3-3-g829e

