fix(ui): display images/videos smaller in timeline (#257)

This commit is contained in:
Daniel Roe 2022-11-30 18:22:15 +00:00 committed by GitHub
parent e76127651a
commit 2bfa9dc476
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View file

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