fix: status card styles (#415)

This commit is contained in:
patak 2022-12-13 15:56:00 +01:00 committed by GitHub
parent 0ef44cdf50
commit 965b96c630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 63 additions and 44 deletions

View file

@ -12,12 +12,15 @@ const withAccounts = $computed(() =>
<template>
<article v-if="conversation.lastStatus" flex flex-col gap-2>
<div absolute flex gap-2 text-sm text-secondary font-bold left-3 px2 pt2>
<p mr-1>
{{ $t('conversation.with') }}
</p>
<AccountAvatar v-for="account in withAccounts" :key="account.id" h-5 w-5 :account="account" />
</div>
<StatusCard v-if="conversation.lastStatus" :decorated="true" :status="conversation.lastStatus" :actions="false" />
<StatusCard v-if="conversation.lastStatus" :status="conversation.lastStatus" :actions="false">
<template #meta>
<div flex gap-2 text-sm text-secondary font-bold>
<p mr-1>
{{ $t('conversation.with') }}
</p>
<AccountAvatar v-for="account in withAccounts" :key="account.id" h-5 w-5 :account="account" />
</div>
</template>
</StatusCard>
</article>
</template>