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

This commit is contained in:
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

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>