+
+
+ {{ style.title }}
+
+
-
-
- {{ style.title }}
-
+
+
+ {{ style.title }}
+
+
@@ -45,13 +58,17 @@
import mapboxgl from 'mapbox-gl'
import MapboxGeocoder from '@mapbox/mapbox-gl-geocoder'
import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css'
-import { objectValuesToArray } from '../utils/utils'
import { mapGetters } from 'vuex'
+import { objectValuesToArray } from '~/utils/utils'
import { profileUserQuery, mapUserQuery } from '~/graphql/User'
import { groupQuery } from '~/graphql/groups'
+import mobile from '~/mixins/mobile'
+
+const maxMobileWidth = 639 // on this width and smaller the mapbox 'MapboxGeocoder' search gets bigger
export default {
name: 'Map',
+ mixins: [mobile(maxMobileWidth)],
head() {
return {
title: this.$t('map.pageTitle'),
@@ -461,6 +478,7 @@ export default {
position: relative;
margin-left: 6px;
margin-top: 6px;
+ margin-bottom: 6px;
&.--deactivated {
color: $text-color-base;