Enlarge thumbnail preview to 320x320 with even padding

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
mariosemes
2026-03-26 22:54:32 +01:00
parent 61dc793edb
commit d0081d347a

View File

@@ -315,7 +315,7 @@
<img src={product.image} alt="" class="max-w-full max-h-full object-contain" />
</div>
<div class="thumb-preview pointer-events-none">
<div class="w-64 h-64 rounded-lg bg-surface-raised border border-surface-border shadow-2xl shadow-black/50 p-4 flex items-center justify-center">
<div class="w-80 h-80 rounded-lg bg-surface-raised border border-surface-border shadow-2xl shadow-black/50 flex items-center justify-center p-5">
<img src={product.image} alt={product.name} class="max-w-full max-h-full object-contain" />
</div>
</div>