aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LocationsMap.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-04-11 13:54:02 -0700
committerAdam Soltys <[email protected]>2024-04-11 13:54:02 -0700
commit4bae7d890047087154c1717443f7665c3c11edc8 (patch)
treea40b89aa329f469249bd187cf4faead693b8daa9 /src/components/LocationsMap.svelte
parent88c09de858ffe58de88dfc3a375a64cb2a6c28e3 (diff)
downloadcoinos-ui-4bae7d890047087154c1717443f7665c3c11edc8.tar.gz
coinos-ui-4bae7d890047087154c1717443f7665c3c11edc8.zip
typo and formatting
Diffstat (limited to 'src/components/LocationsMap.svelte')
-rw-r--r--src/components/LocationsMap.svelte58
1 files changed, 28 insertions, 30 deletions
diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte
index 9996df10..79ea4bf3 100644
--- a/src/components/LocationsMap.svelte
+++ b/src/components/LocationsMap.svelte
@@ -214,40 +214,38 @@
onDestroy(() => map && map.remove());
</script>
-
<div class="w-screen h-screen flex" id="map" bind:this={mapWrapper}>
<div
- id="map-container"
- class="mx-auto h-full w-full z-0"
- bind:this={mapContainer}
- />
- <div class="relative">
- <div class="flex absolute flex top-2 right-2 gap-2">
- <button
- class="rounded-full border-2 border-black bg-white w-10 h-10"
- on:click={toggle}
- >
- {#if timeout}
- <Icon icon="pause" style="w-4 m-auto" />
- {:else}
- <Icon icon="play" style="w-4 m-auto" />
- {/if}
- </button>
- </div>
- </div>
+ id="map-container"
+ class="mx-auto h-full w-full z-0"
+ bind:this={mapContainer}
+ />
+ <div class="relative">
+ <div class="flex absolute flex top-2 right-2 gap-2">
+ <button
+ class="rounded-full border-2 border-black bg-white w-10 h-10"
+ on:click={toggle}
+ >
+ {#if timeout}
+ <Icon icon="pause" style="w-4 m-auto" />
+ {:else}
+ <Icon icon="play" style="w-4 m-auto" />
+ {/if}
+ </button>
+ </div>
</div>
+</div>
- <!-- <div class="hidden lg:grid grid-cols-3 justify-items-center"> -->
- <!-- {#each inview as m} -->
- <!-- <button -->
- <!-- on:click={() => select(m)} -->
- <!-- class="text-left" -->
- <!-- class:font-bold={m.id === inview[currentIndex]?.id} -->
- <!-- id={`marker-${m.id}`}>{m.tags.name}</button -->
- <!-- > -->
- <!-- {/each} -->
- <!-- </div> -->
-
+<!-- <div class="hidden lg:grid grid-cols-3 justify-items-center"> -->
+<!-- {#each inview as m} -->
+<!-- <button -->
+<!-- on:click={() => select(m)} -->
+<!-- class="text-left" -->
+<!-- class:font-bold={m.id === inview[currentIndex]?.id} -->
+<!-- id={`marker-${m.id}`}>{m.tags.name}</button -->
+<!-- > -->
+<!-- {/each} -->
+<!-- </div> -->
<style>
#map:fullscreen,