1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00

fix(status): add word wrap

closes #63
This commit is contained in:
三咲智子 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 />