fix(ui): Prevent word-wrap on "Replying To" (#1663)

zio/stable
Peter Budai 2023-02-07 09:12:30 +01:00 committed by GitHub
parent f1087fd270
commit 9e09c9072f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 8 deletions

View File

@ -27,14 +27,15 @@ const account = isSelf ? computed(() => status.account) : useAccountById(status.
</template> </template>
<template v-else> <template v-else>
<div i-ri-chat-1-line text-blue /> <div i-ri-chat-1-line text-blue />
<i18n-t keypath="status.replying_to"> <div ws-nowrap>
<template v-if="account"> <i18n-t keypath="status.replying_to" />
<AccountInlineInfo :account="account" :link="false" /> </div>
</template> <template v-if="account">
<template v-else> <AccountInlineInfo :account="account" :link="false" />
{{ $t('status.someone') }} </template>
</template> <template v-else>
</i18n-t> {{ $t('status.someone') }}
</template>
</template> </template>
</NuxtLink> </NuxtLink>
</template> </template>