mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fixed map height in embedded mode
This commit is contained in:
parent
6d457b9184
commit
924213b386
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user