fix: responsive sign in after icon-only sidebar

This commit is contained in:
patak 2022-12-21 15:10:37 +01:00
parent ee9627108c
commit f542011b55
4 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<template>
<VDropdown v-if="isMastoInitialised && currentUser">
<VDropdown v-if="isMastoInitialised && currentUser" sm:hidden>
<div style="-webkit-touch-callout: none;">
<AccountAvatar
ref="avatar"
@ -13,7 +13,7 @@
<UserSwitcher ref="switcher" @click="hide()" />
</template>
</VDropdown>
<button v-else btn-solid text-sm px-2 py-1 text-center @click="openSigninDialog()">
<button v-else btn-solid text-sm px-2 py-1 text-center lg:hidden @click="openSigninDialog()">
{{ $t('action.sign_in') }}
</button>
</template>