feat(F-059): completed feature
This commit is contained in:
@@ -158,11 +158,13 @@ export default function ProductsPage() {
|
||||
<td className="px-4 py-3.5">
|
||||
<div className="flex items-center gap-3">
|
||||
{p.images?.[0]?.url ? (
|
||||
<img
|
||||
src={p.images[0].url.replace('/uploads/', '/uploads/40/')}
|
||||
alt={p.name}
|
||||
className="w-10 h-10 rounded-lg object-cover bg-gray-100 flex-shrink-0"
|
||||
/>
|
||||
<div className="w-10 h-14 rounded-lg bg-gray-100 flex items-center justify-center flex-shrink-0 overflow-hidden">
|
||||
<img
|
||||
src={p.images[0].url.replace('/uploads/', '/uploads/40/')}
|
||||
alt={p.name}
|
||||
className="max-w-full max-h-full w-auto h-auto object-contain"
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<div className="w-10 h-10 rounded-lg bg-gray-100 flex items-center justify-center text-lg flex-shrink-0">
|
||||
🌿
|
||||
|
||||
Reference in New Issue
Block a user