fix(ui): display images/videos smaller in timeline (#257)
This commit is contained in:
parent
e76127651a
commit
2bfa9dc476
3 changed files with 14 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue