Skip to content

Commit

Permalink
fix: Add min-height to map container (#3480)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s authored Aug 1, 2024
1 parent 4ddabec commit 2dd0203
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export const MapContainer = styled(Box)<MapContainerProps>(
// Only increase map size in Published, Preview, and Draft routes
height:
size === "large" && environment === "standalone" ? "70vh" : "50vh",
// Ensure map is not reduced to an unusable height
minHeight: "400px",
[theme.breakpoints.up("md")]: {
minHeight: "480px",
},
},
}),
);
Expand Down

0 comments on commit 2dd0203

Please sign in to comment.