feat: role labels wrap (#2266)

This commit is contained in:
Florian Martinez 2023-07-25 17:29:54 +02:00 committed by GitHub
parent 22a1388d50
commit 0a933614fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 3 deletions

View file

@ -165,9 +165,9 @@ const personalNoteMaxLength = 2000
</div>
</div>
<div flex="~ col gap1" pt2>
<div flex gap2 items-center>
<div flex gap2 items-center flex-wrap>
<AccountDisplayName :account="account" font-bold sm:text-2xl text-xl />
<AccountRoleIndicator v-for="role in account.roles" :key="role.id" :role="role" />
<AccountRolesIndicator :account="account" />
<AccountLockIndicator v-if="account.locked" show-label />
<AccountBotIndicator v-if="account.bot" show-label />
</div>