Merge pull request #594 from lkiesow/mobile-map-full-width

Full width map on mobile
This commit is contained in:
Sean Morley
2025-05-09 21:33:29 -04:00
committed by GitHub

View File

@@ -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}