feat: display status meta over card (#325)

This commit is contained in:
patak 2022-12-06 12:07:17 +01:00 committed by GitHub
parent 22a82bca22
commit 8537f9e0ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 115 additions and 82 deletions

View file

@ -52,7 +52,7 @@ onReactivated(() => {
<div v-if="status" min-h-100vh>
<template v-if="context">
<template v-for="comment of context?.ancestors" :key="comment.id">
<StatusCard :status="comment" context="account" border="t base" py3 />
<StatusCard :status="comment" context="account" border="t base" :show-reply-to="false" />
</template>
</template>
@ -73,7 +73,7 @@ onReactivated(() => {
<template v-if="context">
<template v-for="comment of context?.descendants" :key="comment.id">
<StatusCard :status="comment" context="account" border="t base" py3 />
<StatusCard :status="comment" context="account" border="t base" />
</template>
</template>
@ -83,6 +83,6 @@ onReactivated(() => {
<StatusNotFound v-else :account="$route.params.account" :status="id" />
</template>
<StatusCardSkeleton v-else border="b base" py-3 />
<StatusCardSkeleton v-else border="b base" />
</MainContent>
</template>