fix(status): add word wrap

closes #63
zio/stable
三咲智子 2022-11-25 16:43:47 +08:00
parent a253a222ec
commit 727bef6066
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ const { translation } = useTranslation(status)
</script>
<template>
<div class="status-body">
<div class="status-body" whitespace-pre-wrap break-words>
<ContentRichSetup :content="translation.visible ? translation.text : status.content" :emojis="status.emojis" />
</div>
</template>

View File

@ -85,7 +85,7 @@ const timeago = useTimeAgo(() => status.createdAt, {
<AccountAvatar mt1 w-12 h-12 :account="status.account" />
</div>
</div>
<div flex="~ col 1">
<div flex="~ col 1" w-0>
<div flex>
<StatusAccountDetails :account="status.account" />
<div flex-auto />