Skip to content

Commit

Permalink
Fix CSS height of MapLibre element to show attribution [#41]
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon authored and charliemcgrady committed May 26, 2024
1 parent 0d4ec0c commit 6b004bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function Map({mode}) {
interactiveLayerIds={interactiveLayerIds}
initialViewState={INITIAL_VIEW_STATE}
mapStyle={getMapStyle()}
style={{position: 'fixed', width: '100%', height: '100%'}}
style={{position: 'fixed', width: '100%', height: 'calc(100vh - 60px)'}}
>
<Source id="overture-places" type="vector" url={PLACES_PMTILES_URL}>
<Layer {...PLACES_MAP_STYLE} layout={{visibility: interactiveLayerIds.includes('places') ? 'visible' : 'none'}} />
Expand Down

0 comments on commit 6b004bd

Please sign in to comment.