prevent mobile zoom, fix bug with scroll to hash, move zoom control

This commit is contained in:
Will Freeman committed 2024-10-04 13:42:21 -05:00
1 parent ac0ec415a2
commit 64da95d76a
3 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import HomeView from '../views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
scrollBehavior(to, from, savedPosition) {
if (to.hash) {
if (to.hash && !to.hash.startsWith('#map')) {
return {
el: to.hash,
behavior: 'smooth',