diff --git a/src/components/ProductDetailPage.js b/src/components/ProductDetailPage.js index 27a6ce0..474b9a2 100644 --- a/src/components/ProductDetailPage.js +++ b/src/components/ProductDetailPage.js @@ -1277,8 +1277,9 @@ class ProductDetailPage extends Component { )} {/* Attribute images and chips with action buttons */} - {(attributes.some(attr => attributeImages[attr.kMerkmalWert]) || attributes.some(attr => !attributeImages[attr.kMerkmalWert])) && ( - + + + {(attributes.some(attr => attributeImages[attr.kMerkmalWert]) || attributes.some(attr => !attributeImages[attr.kMerkmalWert])) && ( {attributes .filter(attribute => attributeImages[attribute.kMerkmalWert]) @@ -1314,62 +1315,63 @@ class ProductDetailPage extends Component { /> ))} + )} - {/* Right-aligned action buttons */} - + {/* Right-aligned action buttons */} + + + + {(product.available !== 1 && product.availableSupplier !== 1) && ( - - {(product.available !== 1 && product.availableSupplier !== 1) && ( - - )} - - - )} + )} + + + {/* Weight */} {product.weight > 0 && (