Skip to content

Commit

Permalink
🐛 Fix dialog on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
karlosos committed Jan 11, 2024
1 parent 29fb56d commit 1131d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ui/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const DialogPortal = ({
...props
}: DialogPrimitive.DialogPortalProps) => (
<DialogPrimitive.Portal className={cn(className)} {...props}>
<div className="fixed inset-0 z-50 flex items-start justify-center sm:items-center">
<div className="fixed inset-0 z-50 flex items-center justify-center">
{children}
</div>
</DialogPrimitive.Portal>
Expand Down

0 comments on commit 1131d4e

Please sign in to comment.