fix: status media display (#421)

This commit is contained in:
Anthony Fu 2022-12-13 20:26:53 +01:00 committed by GitHub
parent 5abf730ed6
commit 343e461e2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 12 deletions

View file

@ -3,7 +3,7 @@ import type { Status } from 'masto'
const { status } = defineProps<{
status: Status
minimized?: boolean
fullSize?: boolean
}>()
</script>
@ -13,7 +13,7 @@ const { status } = defineProps<{
<StatusAttachment
:attachment="attachment"
:attachments="status.mediaAttachments"
:class="{ 'max-h-72': minimized }"
:full-size="fullSize"
w-full
h-full
/>