Skip to content

Commit

Permalink
remove object-fit warning
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Feb 21, 2024
1 parent fd28184 commit 191689e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/app/_components/EcosystemGrants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const EcosystemGrantsCard = ({
return (
<div className="bg-base-100 rounded-2xl min-h-[380px] max-w-[370px] flex flex-col">
<div className="h-56 w-full bg-gray-400/60 rounded-tl-2xl rounded-tr-2xl relative">
<Image src={imageLink} alt={title} layout="fill" objectFit="cover" className="rounded-tl-2xl rounded-tr-2xl" />
<Image src={imageLink} alt={title} layout="fill" className="rounded-tl-2xl rounded-tr-2xl" />
<p className="m-0 absolute bottom-4 left-4 text-2xl md:text-3xl lg:text-4xl font-ppEditorial">{title}</p>
</div>
<div className="flex-1 flex flex-col items-start justify-between space-y-4 p-4">
Expand Down

0 comments on commit 191689e

Please sign in to comment.