Skip to content

Commit 03a3673

Browse files
committed
Fixed the matbox label stuff overlying the buttons on the bottom.
1 parent 295f85f commit 03a3673

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/views/data/LocalMap.vue

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
style: 'mapbox://styles/luckydonald/cjqwaq8xs3x9j2sn2cbsdzyt6',
88
center: [-76.61703, 39.28529],
99
zoom: 16,
10+
showCompass: false,
11+
showZoom: false,
1012
}"
1113
:hide-credits="false"
1214
/>
@@ -36,3 +38,13 @@ export default {
3638
padding-bottom: 2vmin;
3739
}
3840
</style>
41+
<style lang="scss">/* unscoped */
42+
#map .mapboxgl-control-container,
43+
#map .mapboxgl-control-container .mapboxgl-ctrl
44+
{
45+
display: none !important;
46+
pointer-events: auto!important;
47+
position: absolute;
48+
top: -100%;
49+
}
50+
</style>

src/views/data/WorldMap.vue

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
style: 'mapbox://styles/luckydonald/cjqwaq8xs3x9j2sn2cbsdzyt6',
88
center: [-76.61703, 39.28529],
99
zoom: 10,
10+
showCompass: false,
11+
showZoom: false,
1012
}"
1113
:hide-credits="false"
1214
/>
@@ -36,3 +38,13 @@ export default {
3638
padding-bottom: 2vmin;
3739
}
3840
</style>
41+
<style lang="scss">/* unscoped */
42+
#map .mapboxgl-control-container,
43+
#map .mapboxgl-control-container .mapboxgl-ctrl
44+
{
45+
display: none !important;
46+
pointer-events: auto!important;
47+
position: absolute;
48+
top: -100%;
49+
}
50+
</style>

0 commit comments

Comments
 (0)