From 6cefd32a58ebb6b8f1f6fbe4cdfb7508de49b88f Mon Sep 17 00:00:00 2001 From: sunny <5758289@qq.com> Date: Tue, 12 May 2026 11:31:15 +0800 Subject: [PATCH] fix(frontend): polish bounty detail mobile spacing and overflow --- frontend/src/components/bounty/BountyDetail.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/bounty/BountyDetail.tsx b/frontend/src/components/bounty/BountyDetail.tsx index 65653fa8f..572854359 100644 --- a/frontend/src/components/bounty/BountyDetail.tsx +++ b/frontend/src/components/bounty/BountyDetail.tsx @@ -27,7 +27,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) { return ( {/* Back link */} - + Back to Bounties @@ -35,7 +35,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) { {/* Main content */}
{/* Title + meta */} -
+
@@ -57,7 +57,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) { {/* Skills */} {bounty.skills?.length > 0 && ( -
+
{bounty.skills.map((lang) => ( @@ -84,7 +84,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) {
{/* Description / requirements */} -
+

Requirements

Submit a working solution that addresses the bounty requirements above. @@ -94,7 +94,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) { {/* Submission form */} {bounty.status === 'open' || bounty.status === 'funded' ? ( -

+

Submit Your Solution

{isAuthenticated ? ( @@ -103,7 +103,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) {

Sign in with GitHub to submit a solution.

Sign in with GitHub @@ -116,7 +116,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) { {/* Sidebar */}
{/* Reward card */} -
+

Reward

{formatCurrency(bounty.reward_amount, bounty.reward_token)} @@ -124,7 +124,7 @@ export function BountyDetail({ bounty }: BountyDetailProps) {

{/* Info card */} -
+
Status