Skip to content

Commit

Permalink
center project logo in tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
shrey150 committed Dec 25, 2024
1 parent cc4b11a commit 833d520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/startups/StartupTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ export default function StartupTile({ startup }: { startup: Startup }) {
className="m-0 p-0 list-none rounded-md"
>
<div className="bg-white border border-0.5 relative h-0 pb-[75%] overflow-hidden rounded-md group">
<div className="flex items-center justify-center text-center">
<div className="flex items-center justify-center text-center absolute inset-0 p-4">
<img
src={logo}
className="w-[400px] h-[250px] mt-auto rounded-lg rounded-b-sm object-contain "
className="max-w-full max-h-full w-auto h-auto rounded-md object-contain"
alt={`${name} logo`}
/>
</div>
Expand Down

0 comments on commit 833d520

Please sign in to comment.