diff --git a/src/components/DesignCanvas.tsx b/src/components/DesignCanvas.tsx index 90552db..37c1ca2 100644 --- a/src/components/DesignCanvas.tsx +++ b/src/components/DesignCanvas.tsx @@ -1086,7 +1086,7 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) { {/* Controls */} -
+

{product.name}

{product.description}

@@ -1120,54 +1120,56 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) {
-
-

Color

-
- {product.colors.map((c) => ( -
- {product.imageUrl && !product.photoRecolorable && Object.keys(product.colorPhotos).length === 0 && ( -

- This product uses a real photo, so the picture won't change color — your pick is - still saved with the order. -

- )} -
- - {product.sizes.length > 0 && ( +
-

Size

+

Color

- {product.sizes.map((s) => ( + {product.colors.map((c) => ( + style={{ backgroundColor: c }} + /> ))}
+ + {product.sizes.length > 0 && ( +
+

Size

+
+ {product.sizes.map((s) => ( + + ))} +
+
+ )} +
+ {product.imageUrl && !product.photoRecolorable && Object.keys(product.colorPhotos).length === 0 && ( +

+ This product uses a real photo, so the picture won't change color — your pick is + still saved with the order. +

)} {canPersonalize && (
-

+

Your design {hasBack && — editing the {view}}

@@ -1175,11 +1177,11 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) { {(() => { const images = view === 'front' ? elementsFront.filter(el => el.type === 'image') : elementsBack.filter(el => el.type === 'image'); return images.length > 0 ? ( -
+
{images.map((img, idx) => ( -
-

Image {idx + 1} Dimensions

-
+
+

Image {idx + 1}

+