fix cursor on desktop, add modal link on mobile

This commit is contained in:
Henry Jameson 2020-05-25 16:16:30 +03:00
parent 7951192cd9
commit 0286e1024c
3 changed files with 10 additions and 3 deletions

View file

@ -47,6 +47,7 @@
@click.stop.native @click.stop.native
/> />
<a <a
href="#"
class="mobile-hidden" class="mobile-hidden"
@click.stop="openSettingsModal" @click.stop="openSettingsModal"
> >

View file

@ -62,7 +62,10 @@ const SideDrawer = {
}, },
touchMove (e) { touchMove (e) {
GestureService.updateSwipe(e, this.closeGesture) GestureService.updateSwipe(e, this.closeGesture)
} },
openSettingsModal () {
this.$store.dispatch('openSettingsModal')
},
} }
} }

View file

@ -122,9 +122,12 @@
</router-link> </router-link>
</li> </li>
<li @click="toggleDrawer"> <li @click="toggleDrawer">
<router-link :to="{ name: 'settings' }"> <a
href="#"
@click.stop="openSettingsModal"
>
<i class="button-icon icon-cog" /> {{ $t("settings.settings") }} <i class="button-icon icon-cog" /> {{ $t("settings.settings") }}
</router-link> </a>
</li> </li>
<li @click="toggleDrawer"> <li @click="toggleDrawer">
<router-link :to="{ name: 'about'}"> <router-link :to="{ name: 'about'}">