From 35af45ddd7142d16a6437226e32eb12f64e3a1c9 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Wed, 1 Mar 2023 14:18:02 +0530 Subject: [PATCH] fix: image aspect ratio --- apps/app/components/project/single-project-card.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app/components/project/single-project-card.tsx b/apps/app/components/project/single-project-card.tsx index 676b572aa..b29c9e8a9 100644 --- a/apps/app/components/project/single-project-card.tsx +++ b/apps/app/components/project/single-project-card.tsx @@ -137,6 +137,7 @@ export const SingleProjectCard: React.FC = ({ } alt={project.name} layout="fill" + objectFit="cover" className="rounded-t-[10px]" />