Skip to content

Commit

Permalink
gallery fix for safari
Browse files Browse the repository at this point in the history
  • Loading branch information
edoriggio committed Nov 29, 2024
1 parent ed3d257 commit fb69a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GalleryComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:opts="{ loop: true }">
<carousel-content class="h-[40vw] md:h-[50vw]">
<carousel-item v-for="number in images" :key="number" class="h-min">
<img :src="getImage(number)" alt="photo" class="object-cover object-center h-min">
<img :src="getImage(number)" alt="photo" class="object-cover object-center h-auto">
</carousel-item>
</carousel-content>
<carousel-previous class="bg-[#160D2F] bg-opacity-20 border border-nw-border rounded-full hover:bg-[#160D2F] hover:text-white" />
Expand Down

0 comments on commit fb69a1c

Please sign in to comment.