Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Shrink bounty detail thumbnail to match shorter info card

Kiran Kc3ff87632209
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsx
index 96a9742e50..b2dd42de50 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-info.tsx
@@ -39,7 +39,7 @@ export function BountyInfo() {
return (
<div className="flex flex-col gap-3 sm:flex-row sm:items-start sm:gap-6">
- <div className="relative flex h-[100px] w-full items-center justify-center rounded-lg bg-neutral-100 p-4 sm:h-[128px] sm:w-[100px] sm:shrink-0">
+ <div className="relative flex h-[100px] w-full items-center justify-center rounded-lg bg-neutral-100 p-4 sm:size-[100px] sm:shrink-0">
<BountyThumbnailImage bounty={bounty} />
</div>
@@ -107,7 +107,7 @@ export function BountyInfo() {
function BountyInfoSkeleton() {
return (
<div className="flex flex-col items-center gap-3 sm:flex-row sm:items-start sm:gap-6">
- <div className="relative flex h-[100px] w-[100px] shrink-0 items-center justify-center rounded-lg bg-neutral-100 p-3 sm:h-[128px]" />
+ <div className="relative flex size-[100px] shrink-0 items-center justify-center rounded-lg bg-neutral-100 p-3" />
<div className="flex min-w-0 flex-1 flex-col gap-1.5">
<div className="flex items-start justify-between gap-3">
<div className="h-6 w-48 animate-pulse rounded-md bg-neutral-200" />