fix(pdp-image-white-bg): product detail image card background must be white
This commit is contained in:
@@ -111,7 +111,7 @@ export default async function ProductPage({ params }: Props) {
|
||||
(next/image `fill` needs a non-zero parent) and the image is
|
||||
letterboxed with `object-contain`. */}
|
||||
<div className="flex justify-center">
|
||||
<div className="relative w-full max-w-md aspect-[5/7] max-h-[500px] bg-gray-50 rounded-2xl border border-gray-100 overflow-hidden">
|
||||
<div className="relative w-full max-w-md aspect-[5/7] max-h-[500px] bg-white rounded-2xl border border-gray-100 overflow-hidden">
|
||||
{product.images?.[0] ? (
|
||||
<Image
|
||||
src={product.images[0].url}
|
||||
|
||||
Reference in New Issue
Block a user