x
This commit is contained in:
1 parent
358c6abd8e
commit
90915762c3
1 file changed
+1
-1
@@ -75,7 +75,7 @@ export default function ProductImageGallery({ images, fallback, alt = 'Product I
|
|||||||
<button
|
<button
|
||||||
key={image.id || idx}
|
key={image.id || idx}
|
||||||
onClick={() => setCurrentIndex(idx)}
|
onClick={() => setCurrentIndex(idx)}
|
||||||
className={`relative flex-shrink-0 w-24 h-24 rounded-xl overflow-hidden border-2 transition-all ${
|
className={`relative flex-shrink-0 w-16 h-16 rounded-xl overflow-hidden border-2 transition-all ${
|
||||||
currentIndex === idx ? 'border-spa-forest shadow-md' : 'border-transparent hover:border-spa-stone/30'
|
currentIndex === idx ? 'border-spa-forest shadow-md' : 'border-transparent hover:border-spa-stone/30'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user