Skip to content

Commit

Permalink
refactor: Update max height and overflow properties in NavigationDial…
Browse files Browse the repository at this point in the history
…og component
  • Loading branch information
0niel committed Oct 3, 2024
1 parent 4b97e9a commit 568cb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/map/navigation-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const NavigationDialog: React.FC<RoutesModalProps> = ({

return (
<Dialog open={isOpen} onOpenChange={onClose}>
<DialogContent className="sm:max-w-3xl">
<DialogContent className="sm:max-w-3xl max-h-[calc(100vh-env(safe-area-inset-bottom))] overflow-y-auto">
<DialogHeader>
<DialogTitle>Навигация</DialogTitle>
<DialogDescription>
Expand Down

0 comments on commit 568cb1e

Please sign in to comment.