Added touchstart to menu for iOS, removed auto close on login link.

This commit is contained in:
DebaucheryLibrarian 2024-11-09 00:20:39 +01:00
parent e767b80076
commit 34c413da77
3 changed files with 8 additions and 3 deletions

View File

@ -155,7 +155,6 @@
<li
v-else-if="allowLogin"
v-close-popper
class="menu-item"
>
<a
@ -184,6 +183,7 @@
v-close-popper
class="menu-item menu-button"
@click="showSettings = true"
@touchstart="showSettings = true"
>
<Icon icon="equalizer" />
Settings
@ -208,6 +208,7 @@
v-close-popper
class="menu-item menu-button"
@click="setTheme('light')"
@touchstart="setTheme('light')"
>
<Icon icon="sun3" />
Light theme
@ -218,6 +219,7 @@
v-close-popper
class="menu-item menu-button"
@click="setTheme('dark')"
@touchstart="setTheme('dark')"
>
<Icon icon="moon" />
Dark theme

View File

@ -83,5 +83,8 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.38.5"
"version": "0.38.5",
"imports": {
"#/*": "./*.js"
}
}

2
static

@ -1 +1 @@
Subproject commit 083dfa7120cedc41757fe0da08d073faa6898e9f
Subproject commit d107cd9f452ff96bf6e479235ab9ac5832c7bb00