fix(pdp-image-white-bg): product detail image card background must be white

This commit is contained in:
Deploy
2026-08-26 20:35:34 +02:00
parent a73b1a9004
commit 6795f25c27
9 changed files with 50 additions and 8 deletions

View File

@@ -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}