Removed button for toggling view and added some whitespace around view map

This commit is contained in:
2019-05-26 21:28:29 +02:00
parent d263a6b0bf
commit e05b69db0f
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<button @click="toggleView">Toggle view</button>
<!-- <button @click="toggleView">Toggle view</button> -->
<div class="gallery-container" :class="mobileFriendly ? 'mobile' : 'large'">

View File

@@ -16,7 +16,9 @@
<div v-if="locationName">
<span>{{ locationName }}</span>
<a @click="showMap = !showMap"> {{ showMap ? 'Lukk kart' : 'Vis kart' }}</a>
<div style="margin: 1rem 0">
<a @click="showMap = !showMap"> {{ showMap ? 'Lukk kart' : 'Vis kart' }}</a>
</div>
<transition name="slide" class="transition">
<map-view v-if="showMap" :locationName="locationName"></map-view>