Skip to content

Commit

Permalink
fix(ui): Prevent word-wrap on "Replying To" (#1663)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbud committed Feb 7, 2023
1 parent f1087fd commit 9e09c90
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions components/status/StatusReplyingTo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ const account = isSelf ? computed(() => status.account) : useAccountById(status.
</template>
<template v-else>
<div i-ri-chat-1-line text-blue />
<i18n-t keypath="status.replying_to">
<template v-if="account">
<AccountInlineInfo :account="account" :link="false" />
</template>
<template v-else>
{{ $t('status.someone') }}
</template>
</i18n-t>
<div ws-nowrap>
<i18n-t keypath="status.replying_to" />
</div>
<template v-if="account">
<AccountInlineInfo :account="account" :link="false" />
</template>
<template v-else>
{{ $t('status.someone') }}
</template>
</template>
</NuxtLink>
</template>

0 comments on commit 9e09c90

Please sign in to comment.