Skip to content

Commit

Permalink
Fix bug of displaying image on product view page
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic committed Dec 17, 2023
1 parent 1d0f181 commit 2590b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/product/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
<template x-for="image in images">
<div
x-show="activeImage === image"
class="aspect-w-3 aspect-h-2"
class="w-full h-[240px] sm:h-[400px] flex items-center justify-center"
>
<img :src="image" alt="" class="w-auto mx-auto"/>
<img :src="image" alt="" class="w-auto h-auto max-h-full mx-auto"/>
</div>
</template>
<a
Expand Down

0 comments on commit 2590b69

Please sign in to comment.