diff --git a/components/product/ProductView/ProductView.module.css b/components/product/ProductView/ProductView.module.css index 80c103b24..96b2a03b2 100644 --- a/components/product/ProductView/ProductView.module.css +++ b/components/product/ProductView/ProductView.module.css @@ -60,6 +60,15 @@ @apply absolute z-10 inset-0 flex items-center justify-center overflow-x-hidden; } +.imageContainer { + & > div { + @apply h-full; + & > div { + @apply h-full; + } + } +} + .img { @apply w-full h-auto max-h-full object-cover; } diff --git a/components/product/ProductView/ProductView.tsx b/components/product/ProductView/ProductView.tsx index 794bfebf1..97c1c7d4d 100644 --- a/components/product/ProductView/ProductView.tsx +++ b/components/product/ProductView/ProductView.tsx @@ -77,7 +77,7 @@ const ProductView: FC = ({ product, className }) => {
{product.images.edges?.map((image, i) => ( -
+