Skip to content

Commit ea4ebe5

Browse files
committed
fix(app): size the update dialog like Pulse and blur the backdrop
Refs #139
1 parent 9b9b754 commit ea4ebe5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎app/src/components/UpdateDialog.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export function UpdateDialog({ open, onOpenChange, initialStatus }: UpdateDialog
231231

232232
return (
233233
<Dialog open={open} onOpenChange={(o) => !busy && onOpenChange(o)}>
234-
<DialogContent className="flex max-h-[92vh] w-full flex-col gap-4 overflow-y-auto md:h-[calc(100vh-2rem)] md:w-[calc(100vw-2rem)] md:max-w-none md:overflow-hidden">
234+
<DialogContent className="flex max-h-[92vh] w-full flex-col gap-4 overflow-y-auto md:h-[600px] md:max-h-[calc(100vh-2rem)] md:w-[800px] md:max-w-[calc(100vw-2rem)] md:overflow-hidden">
235235
<DialogHeader>
236236
<DialogTitle className="flex items-center gap-2">
237237
<DownloadCloud className="h-5 w-5 text-accent" strokeWidth={1.75} aria-hidden="true" />

‎app/src/components/ui/dialog.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function DialogOverlay({
3636
<DialogPrimitive.Overlay
3737
data-slot="dialog-overlay"
3838
className={cn(
39-
"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 bg-black/50",
39+
"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 bg-black/50 backdrop-blur-md",
4040
className
4141
)}
4242
{...props}

0 commit comments

Comments
 (0)