diff options
| author | yxshv <[email protected]> | 2024-04-15 01:57:39 +0530 |
|---|---|---|
| committer | yxshv <[email protected]> | 2024-04-15 01:57:39 +0530 |
| commit | 0ce7c916ffcbf6515c3da521775c72861bddd53c (patch) | |
| tree | a23c4b9b8bce9b7124c8574ee6f60709b522c6ae /apps/web/src/components/ui | |
| parent | space expand layout (diff) | |
| download | supermemory-0ce7c916ffcbf6515c3da521775c72861bddd53c.tar.xz supermemory-0ce7c916ffcbf6515c3da521775c72861bddd53c.zip | |
add profile and fix drawer scroll
Diffstat (limited to 'apps/web/src/components/ui')
| -rw-r--r-- | apps/web/src/components/ui/dialog.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/src/components/ui/dialog.tsx b/apps/web/src/components/ui/dialog.tsx index bc36e749..12ccd5ea 100644 --- a/apps/web/src/components/ui/dialog.tsx +++ b/apps/web/src/components/ui/dialog.tsx @@ -38,7 +38,7 @@ const DialogContent = React.forwardRef< <DialogPrimitive.Content ref={ref} className={cn( - "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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] border-rgray-6 bg-rgray-3 fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] border p-6 shadow-lg duration-200 sm:rounded-lg", + "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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] border-rgray-6 bg-rgray-3 fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] border p-6 shadow-lg duration-200 rounded-lg", className, )} {...props} @@ -59,7 +59,7 @@ const DialogHeader = ({ }: React.HTMLAttributes<HTMLDivElement>) => ( <div className={cn( - "flex flex-col space-y-1.5 text-center sm:text-left", + "flex flex-col space-y-1.5 text-left", className, )} {...props} @@ -73,7 +73,7 @@ const DialogFooter = ({ }: React.HTMLAttributes<HTMLDivElement>) => ( <div className={cn( - "mt-5 flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", + "mt-5 flex flex-row sm:flex-row sm:justify-end sm:space-x-2", className, )} {...props} |