fixed map height in embedded mode

This commit is contained in:
Anton Tranelis 2024-06-05 23:34:17 +02:00
parent 6d457b9184
commit 924213b386

View File

@ -28,7 +28,7 @@ function MapContainer({ layers, map }: { layers: Array<LayerProps>, map: any })
return (
<UtopiaMap geo={map.geo} zoom={map.zoom || 5} center={map.center? [map.center?.coordinates[1], map.center?.coordinates[0]] : [50.6, 9.5]} height='calc(100dvh - 64px)' width="100%" >
<UtopiaMap geo={map.geo} zoom={map.zoom || 5} center={map.center? [map.center?.coordinates[1], map.center?.coordinates[0]] : [50.6, 9.5]} height='100%' width="100%" >
{layers && apis &&
layers.map(layer =>
<Layer