From 9e09c9072f98eba8007d3c68321c539c440ff26d Mon Sep 17 00:00:00 2001 From: Peter Budai <peterbudai@hotmail.com> Date: Tue, 7 Feb 2023 09:12:30 +0100 Subject: [PATCH] fix(ui): Prevent word-wrap on "Replying To" (#1663) --- components/status/StatusReplyingTo.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/components/status/StatusReplyingTo.vue b/components/status/StatusReplyingTo.vue index 7c0bf147..93730ac7 100644 --- a/components/status/StatusReplyingTo.vue +++ b/components/status/StatusReplyingTo.vue @@ -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>