diff --git a/editor.planx.uk/src/@planx/components/FindProperty/Public/Map.tsx b/editor.planx.uk/src/@planx/components/FindProperty/Public/Map.tsx index b1c4a77cea..1051b8ce06 100644 --- a/editor.planx.uk/src/@planx/components/FindProperty/Public/Map.tsx +++ b/editor.planx.uk/src/@planx/components/FindProperty/Public/Map.tsx @@ -157,7 +157,7 @@ export default function PlotNewAddress(props: PlotNewAddressProps): FCReturn { - + ( padding: theme.spacing(1, 0, 1, 0), width: "100%", maxWidth: "none", - height: "50vh", "& my-map": { width: "100%", - height: "100%", + // Only increase map size in Preview & Unpublished routes + height: + size === "large" && environment === "standalone" ? "70vh" : "50vh", }, - // Only increase map size in Preview & Unpublished routes - ...(size === "large" && environment === "standalone" && { height: "70vh" }), }), );