💄 Optimize file previewer

This commit is contained in:
2025-11-06 19:48:45 +08:00
parent ae1ba62d1a
commit cd7894ec87
4 changed files with 160 additions and 29 deletions

View File

@@ -14,7 +14,7 @@
class="carousel-container rounded-lg overflow-hidden"
:style="carouselStyle"
>
<v-card width="100%" border>
<v-card width="100%" class="transition-all duration-300" border>
<v-carousel
height="100%"
hide-delimiter-background
@@ -25,9 +25,13 @@
<v-carousel-item
v-for="attachment in attachments"
:key="attachment.id"
:src="getAttachmentUrl(attachment)"
cover
/>
>
<attachment-item
original
:item="attachment"
/>
</v-carousel-item>
</v-carousel>
</v-card>
</div>