fix
This commit is contained in:
@@ -20,7 +20,7 @@ export default function CardItem({ item, onAddToCart }) {
|
||||
return (
|
||||
<div className="flex flex-col text-white w-full">
|
||||
<div className="w-full rounded-md overflow-hidden bg-slate-800/60 flex flex-col h-100 items-center justify-center border border-slate-700/50 select-none">
|
||||
<img src={item.avatar_url} alt={item.name} className="object-cover" />
|
||||
<img src={item.avatar_url} alt={item.name} className="object-cover w-full h-full object-center" />
|
||||
</div>
|
||||
|
||||
{/* Блок с информацией о товаре */}
|
||||
|
||||
Reference in New Issue
Block a user