Skip to content

Commit

Permalink
Safari: Fix image size
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Jul 24, 2023
1 parent b47deb8 commit 6cc3736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Gallery/GalleryMainImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</ClientOnly>
<img
ref="imageElement"
class="max-h-80 h-max w-100 cursor-zoom-in m-auto"
class="max-h-80 h-max w-100 cursor-zoom-in m-auto object-contain"
:src="image.original"
:alt="image.depictions.map((d) => d.label).join(';')"
@click="emit('open:viewer')"
Expand Down

0 comments on commit 6cc3736

Please sign in to comment.