Skip to content

Commit 4f23a45

Browse files
committed
Object cover
1 parent 778dc8b commit 4f23a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

product-image-generator/app/components/UploadCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function UploadCard({ runId, accessToken, fileUrl }: UploadCardProps) {
3030
<img
3131
src={fileUrl}
3232
alt="Uploaded image"
33-
className="h-full w-full object-contain rounded-lg bg-gray-50"
33+
className="h-full w-full object-cover rounded-lg bg-gray-50"
3434
/>
3535
{run?.isCompleted && (
3636
<div className="absolute inset-0 bg-black/0 group-hover:bg-black/20 transition-colors flex items-center justify-center opacity-0 group-hover:opacity-100">

0 commit comments

Comments
 (0)