forked from AkkomaGang/akkoma-fe
fix cursor on desktop, add modal link on mobile
This commit is contained in:
parent
7951192cd9
commit
0286e1024c
3 changed files with 10 additions and 3 deletions
|
@ -47,6 +47,7 @@
|
|||
@click.stop.native
|
||||
/>
|
||||
<a
|
||||
href="#"
|
||||
class="mobile-hidden"
|
||||
@click.stop="openSettingsModal"
|
||||
>
|
||||
|
|
|
@ -62,7 +62,10 @@ const SideDrawer = {
|
|||
},
|
||||
touchMove (e) {
|
||||
GestureService.updateSwipe(e, this.closeGesture)
|
||||
}
|
||||
},
|
||||
openSettingsModal () {
|
||||
this.$store.dispatch('openSettingsModal')
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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'}">
|
||||
|
|
Loading…
Reference in a new issue