Skip to content

Commit

Permalink
fix explore img sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
ndodson committed Nov 15, 2024
1 parent ebf42cd commit 5c9adc8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions uplink-client/src/app/explore/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,15 @@ const AllSpaces = async () => {
<CardTitle className="text-t1 text-lg">{space.displayName}</CardTitle>
</CardHeader>
<CardContent >
<OptimizedImage
src={space.logoUrl}
width={120}
height={120}
alt="spaceLogo"
className="object-contain rounded-xl m-auto"
sizes={"10vw"}
/>
<div className="relative h-[200px] w-[200px]">
<OptimizedImage
src={space.logoUrl}
alt="spaceLogo"
fill
className="object-cover rounded-xl m-auto absolute"
sizes={"10vw"}
/>
</div>
</CardContent>
</Card>
</Link>
Expand Down

0 comments on commit 5c9adc8

Please sign in to comment.