fix: make confirm dialog more visible with darker overlay and sharper shadow
This commit is contained in:
1 parent
c023436413
commit
d4fbbfa243
1 file changed
+2
-2
@@ -77,7 +77,7 @@ export function ConfirmDialog({
|
||||
<button
|
||||
type="button"
|
||||
aria-label="Dismiss"
|
||||
className="absolute inset-0 bg-black/50"
|
||||
className="absolute inset-0 bg-black/80 backdrop-blur-sm"
|
||||
disabled={isLoading}
|
||||
onClick={() => {
|
||||
if (!isLoading) onOpenChange(false);
|
||||
@@ -89,7 +89,7 @@ export function ConfirmDialog({
|
||||
aria-modal="true"
|
||||
aria-labelledby="confirm-dialog-title"
|
||||
aria-describedby="confirm-dialog-desc"
|
||||
className="relative z-10 w-full max-w-md rounded-lg border bg-card p-6 text-card-foreground shadow-lg"
|
||||
className="relative z-10 w-full max-w-md rounded-lg border bg-card p-6 text-card-foreground shadow-xl ring-1 ring-black/5"
|
||||
variants={modalContentVariants}
|
||||
initial="hidden"
|
||||
animate="visible"
|
||||
|
||||
Reference in new issue
Block a user