Removes dialog overlay background and blur effects

Simplifies dialog appearance by eliminating darkened background and blur,
resulting in a cleaner modal overlay. Enhances visual consistency and
reduces excessive visual layering across modal dialogs.
This commit is contained in:
bincxz committed 2025-12-11 04:45:25 +08:00
1 parent 86648c39ca
commit 101c086eef
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -110,8 +110,8 @@ const ProtocolSelectDialog: React.FC<ProtocolSelectDialogProps> = ({
}, [protocolOptions]);
return (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm">
<div className="w-[560px] max-w-[90vw] bg-background border border-border/60 rounded-2xl shadow-2xl animate-in fade-in-0 zoom-in-95 duration-200">
<div className="fixed inset-0 z-50 flex items-center justify-center">
<div className="w-[560px] max-w-[90vw] bg-background border border-border rounded-2xl shadow-2xl animate-in fade-in-0 zoom-in-95 duration-200">
{/* Header */}
<div className="px-6 py-5 border-b border-border/50">
<div className="flex items-center gap-3">
+2 -2
View File
@@ -603,8 +603,8 @@ const QuickConnectWizard: React.FC<QuickConnectWizardProps> = ({
};
return (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm">
<div className="w-[560px] max-w-[90vw] bg-background border border-border/60 rounded-2xl shadow-2xl animate-in fade-in-0 zoom-in-95 duration-200">
<div className="fixed inset-0 z-50 flex items-center justify-center">
<div className="w-[560px] max-w-[90vw] bg-background border border-border rounded-2xl shadow-2xl animate-in fade-in-0 zoom-in-95 duration-200">
{/* Header */}
<div className="px-6 py-5 border-b border-border/50">
<div className="flex items-center justify-between">
+1 -1
View File
@@ -19,7 +19,7 @@ const DialogOverlay = React.forwardRef<
<DialogPrimitive.Overlay
ref={ref}
className={cn(
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
"fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
className
)}
{...props}