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
/>
<a
href="#"
class="mobile-hidden"
@click.stop="openSettingsModal"
>

View File

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

View File

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