feat(ui): Produktbild ab Tablet im Hochformat
Die Galerie lief im Querformat 4:3 neben einer langen Detailspalte und wirkte daneben schmaechtig. Ab md jetzt 4:5, das Glas traegt die Seite; auf dem Handy bleibt 4:3, damit der Kaufen-Knopf oben bleibt. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
7c305a3fce
commit
908afebacb
1 file changed
+1
-1
@@ -63,7 +63,7 @@ export function ProductGallery({ images, productName, description }: ProductGall
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
className="relative aspect-[4/3] overflow-hidden rounded-lg touch-pan-y"
|
className="relative aspect-[4/3] overflow-hidden rounded-lg touch-pan-y md:aspect-[4/5]"
|
||||||
onTouchStart={handleTouchStart}
|
onTouchStart={handleTouchStart}
|
||||||
onTouchEnd={handleTouchEnd}
|
onTouchEnd={handleTouchEnd}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user