Skip to content

Commit b4c2d94

Browse files
committed
fix: adjust height calculation for image carousel in image generator
1 parent fed4826 commit b4c2d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/imageGenerator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
<div id="gallery" class="relative w-full" data-carousel="static">
9999
<!-- Carousel wrapper -->
100-
<div class="relative h-56 overflow-hidden rounded-lg md:h-[calc(90vh-300px)]">
100+
<div class="relative h-56 overflow-hidden rounded-lg md:h-[calc(100vh-400px)]">
101101
<!-- Item 1 -->
102102
<div v-for="(img, index) in images" :key="index" class="hidden duration-700 ease-in-out" data-carousel-item>
103103
<img :src="img" class="absolute block max-w-full max-h-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2 object-cover"

0 commit comments

Comments
 (0)