fix(ui): revert deletion of AccountLockIndicator and move it and AccountBotIndicator to next to account name

This commit is contained in:
TAKAHASHI Shuuji 2025-01-18 21:40:53 +09:00
parent 4e697f4556
commit bdb3c3091c
2 changed files with 5 additions and 2 deletions

View file

@ -16,6 +16,10 @@ const userSettings = useUserSettings()
text-link-rounded text-link-rounded
> >
<AccountDisplayName :account="account" :hide-emojis="getPreferences(userSettings, 'hideUsernameEmojis')" font-bold line-clamp-1 ws-pre-wrap break-all /> <AccountDisplayName :account="account" :hide-emojis="getPreferences(userSettings, 'hideUsernameEmojis')" font-bold line-clamp-1 ws-pre-wrap break-all />
<div flex="~ gap-1">
<AccountHandle :account="account" class="zen-none" /> <AccountHandle :account="account" class="zen-none" />
<AccountBotIndicator v-if="account.bot" text-xs />
<AccountLockIndicator v-if="account.locked" text-xs />
</div>
</NuxtLink> </NuxtLink>
</template> </template>

View file

@ -169,7 +169,6 @@ const forceShow = ref(false)
</AccountHoverWrapper> </AccountHoverWrapper>
<div flex-auto /> <div flex-auto />
<div v-show="!getPreferences(userSettings, 'zenMode')" text-sm text-secondary flex="~ row nowrap" hover:underline whitespace-nowrap> <div v-show="!getPreferences(userSettings, 'zenMode')" text-sm text-secondary flex="~ row nowrap" hover:underline whitespace-nowrap>
<AccountBotIndicator v-if="status.account.bot" me-2 />
<div flex="~ gap1" items-center> <div flex="~ gap1" items-center>
<StatusVisibilityIndicator v-if="status.visibility !== 'public'" :status="status" /> <StatusVisibilityIndicator v-if="status.visibility !== 'public'" :status="status" />
<div flex> <div flex>