fix(status): width & publish time

zio/stable
三咲智子 2022-11-24 22:42:44 +08:00
parent 53cf994ffd
commit 8283521092
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 8 additions and 9 deletions

View File

@ -80,15 +80,14 @@ const timeago = useTimeAgo(() => status.createdAt, {
</div> </div>
<div flex gap-4> <div flex gap-4>
<AccountAvatar mt1 w-12 h-12 :account="status.account" /> <AccountAvatar mt1 w-12 h-12 :account="status.account" />
<div flex flex-col> <div flex="~ col auto">
<StatusAccountDetails :account="status.account"> <div flex>
<template #default> <StatusAccountDetails :account="status.account" />
<div flex-auto /> <div flex-auto />
<div text-sm op50 :title="status.createdAt"> <div text-sm op50 :title="status.createdAt">
{{ timeago }} {{ timeago }}
</div> </div>
</template> </div>
</StatusAccountDetails>
<StatusReplyingTo v-if="status.inReplyToAccountId" :status="status" pt1 /> <StatusReplyingTo v-if="status.inReplyToAccountId" :status="status" pt1 />
<div> <div>
<StatusBody :status="status" /> <StatusBody :status="status" />