From 1af3d7c994432a410995eb7caf5baec46273ed5c Mon Sep 17 00:00:00 2001 From: serfersac Date: Thu, 30 Apr 2026 05:48:04 +0000 Subject: [PATCH] fix: enhance payout table responsiveness for mobile --- app/dashboard/page.tsx | 70 ++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/app/dashboard/page.tsx b/app/dashboard/page.tsx index 7b76c35..e64f3f2 100644 --- a/app/dashboard/page.tsx +++ b/app/dashboard/page.tsx @@ -85,11 +85,11 @@ function BountyRow({ {bounty.status} - + {bounty.owner}/{bounty.repo}#{bounty.issue_number} -

+

{bounty.issue_title || `Issue #${bounty.issue_number}`}

@@ -193,21 +193,23 @@ export default function DashboardPage() {

Bounties You Funded

-
- {funded_bounties.length === 0 ? ( -
-

You haven't funded any bounties yet

-
- ) : ( - funded_bounties.slice(0, 5).map((bounty) => ( - - )) - )} - {funded_bounties.length > 5 && ( -

- +{funded_bounties.length - 5} more -

- )} +
+
+ {funded_bounties.length === 0 ? ( +
+

You haven't funded any bounties yet

+
+ ) : ( + funded_bounties.slice(0, 5).map((bounty) => ( + + )) + )} + {funded_bounties.length > 5 && ( +

+ +{funded_bounties.length - 5} more +

+ )} +
@@ -215,22 +217,24 @@ export default function DashboardPage() {

Bounties You Won

-
- {won_bounties.length === 0 ? ( -
-

You haven't won any bounties yet

-

Submit a PR to start earning!

-
- ) : ( - won_bounties.slice(0, 5).map((bounty) => ( - - )) - )} - {won_bounties.length > 5 && ( -

- +{won_bounties.length - 5} more -

- )} +
+
+ {won_bounties.length === 0 ? ( +
+

You haven't won any bounties yet

+

Submit a PR to start earning!

+
+ ) : ( + won_bounties.slice(0, 5).map((bounty) => ( + + )) + )} + {won_bounties.length > 5 && ( +

+ +{won_bounties.length - 5} more +

+ )} +