fix: make user dropdown to be fixed (#1148)

zio/stable
webfansplz 2023-01-15 16:26:43 +08:00 committed by GitHub
parent 4c25a27c8d
commit 274e182bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template>
<VDropdown :distance="0" placement="top-start">
<VDropdown :distance="0" placement="top-start" strategy="fixed">
<button btn-action-icon :aria-label="$t('action.switch_account')">
<div :class="{ 'hidden xl:block': currentUser }" i-ri:more-2-line />
<AccountAvatar v-if="currentUser" xl:hidden :account="currentUser.account" w-9 h-9 square />