Merge pull request #594 from lkiesow/mobile-map-full-width
Full width map on mobile
This commit is contained in:
@@ -484,7 +484,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<MapLibre
|
<MapLibre
|
||||||
style="https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json"
|
style="https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json"
|
||||||
class="flex items-center self-center justify-center aspect-[9/16] max-h-[70vh] sm:aspect-video sm:max-h-full w-10/12 rounded-lg"
|
class="flex items-center self-center justify-center aspect-[9/16] max-h-[70vh] sm:aspect-video sm:max-h-full w-full md:w-10/12 rounded-lg"
|
||||||
standardControls
|
standardControls
|
||||||
center={{ lng: adventure.longitude || 0, lat: adventure.latitude || 0 }}
|
center={{ lng: adventure.longitude || 0, lat: adventure.latitude || 0 }}
|
||||||
zoom={adventure.longitude ? 12 : 1}
|
zoom={adventure.longitude ? 12 : 1}
|
||||||
|
|||||||
Reference in New Issue
Block a user