mirror of
				https://github.com/KevinMidboe/leifsopplevelser.git
				synced 2025-10-29 17:50:21 +00:00 
			
		
		
		
	Removed button for toggling view and added some whitespace around view map
This commit is contained in:
		| @@ -1,6 +1,6 @@ | |||||||
| <template> | <template> | ||||||
|   <div> |   <div> | ||||||
|     <button @click="toggleView">Toggle view</button> |     <!-- <button @click="toggleView">Toggle view</button> --> | ||||||
|  |  | ||||||
|     <div class="gallery-container" :class="mobileFriendly ? 'mobile' : 'large'"> |     <div class="gallery-container" :class="mobileFriendly ? 'mobile' : 'large'"> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -16,7 +16,9 @@ | |||||||
|          |          | ||||||
|         <div v-if="locationName"> |         <div v-if="locationName"> | ||||||
|           <span>{{ locationName }}</span> |           <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"> |           <transition name="slide" class="transition"> | ||||||
|             <map-view v-if="showMap" :locationName="locationName"></map-view> |             <map-view v-if="showMap" :locationName="locationName"></map-view> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user