Skip to content

feat: Polish mobile responsive for bounty cards, hero, navigation, and detail views (Closes #833)#1245

Open
sepulchralvoid666 wants to merge 1 commit into
SolFoundry:mainfrom
sepulchralvoid666:feat/bounty-833-mobile-responsive-polish
Open

feat: Polish mobile responsive for bounty cards, hero, navigation, and detail views (Closes #833)#1245
sepulchralvoid666 wants to merge 1 commit into
SolFoundry:mainfrom
sepulchralvoid666:feat/bounty-833-mobile-responsive-polish

Conversation

@sepulchralvoid666
Copy link
Copy Markdown

@sepulchralvoid666 sepulchralvoid666 commented May 12, 2026

What this does

Polishes the mobile experience for bounty cards, navigation, hero section, and bounty detail views at 375px and 768px breakpoints.

Changes

BountyCard.tsx

  • Responsive padding: p-4 sm:p-5 (was p-5)
  • Reward text scaling: text-base sm:text-lg with whitespace-nowrap to prevent overflow
  • Meta row: added gap-2 with shrink-0 on meta section to prevent crowding
  • PR count: abbreviated on xs screens ({n} instead of {n} PRs)
  • Status badge: label hidden on xs (hidden xs:inline), only dot shown on tiny screens
  • Right padding adjusted: right-4 sm:right-5

HeroSection.tsx

  • Section: min-h-[80vh] sm:min-h-[90vh], px-3 sm:px-4, pt-20 sm:pt-24, pb-12 sm:pb-16
  • Terminal card: max-w-sm sm:max-w-xl (was max-w-xl — overflowed at 375px)
  • Terminal body: p-4 sm:p-5, text-xs sm:text-sm (was p-5, text-sm)
  • Headline: text-3xl sm:text-4xl md:text-5xl (was text-4xl md:text-5xl)
  • Subtitle: text-base sm:text-lg, mt-3 sm:mt-4, px-2 for edge padding
  • CTA buttons: px-4 sm:px-6 py-2.5 sm:py-3 (was px-6 py-3)
  • Stats strip: flex-wrap with gap-x-4 gap-y-2 sm:gap-6, text-xs sm:text-sm

BountyGrid.tsx

  • Header: text-xl sm:text-2xl, gap-3 sm:gap-4, mb-6 sm:mb-8
  • Filter pills: horizontal scroll on mobile (overflow-x-auto scrollbar-none) instead of flex-wrap, whitespace-nowrap on buttons, pb-2 sm:pb-0

BountyDetail.tsx

  • Container: px-3 sm:px-4, py-6 sm:py-8
  • Back link: mb-4 sm:mb-6
  • Content card: p-4 sm:p-6, gap-3 sm:gap-4
  • Repo name: truncate with min-w-0 on flex child
  • Title: text-xl sm:text-2xl, leading-snug for better wrapping

index.css

  • Added .scrollbar-none utility class (webkit + Firefox + IE) for the horizontal scroll filter pills

How to test

  1. Open the site in a browser
  2. Use DevTools to toggle device toolbar
  3. Test at 375px (iPhone SE), 768px (iPad), and desktop widths
  4. Verify: no horizontal overflow, readable text, tappable buttons, no overlapping elements

Closes #833

Wallet: 2JHa4QQWNV7AGSGsVeX1cwjZtFcmTTomb1TrJmQthoh3

…d detail views

- BountyCard: responsive padding, reward text, meta row gap, abbreviated PR count, collapsible status label on xs
- HeroSection: responsive min-height, terminal card width, font sizes, CTA button sizing, stats strip wrapping
- BountyGrid: responsive heading, horizontal scroll filter pills on mobile
- BountyDetail: responsive padding, title sizing, repo name truncation
- index.css: add scrollbar-none utility class

All changes target 375px and 768px breakpoints as specified.
@sepulchralvoid666 sepulchralvoid666 changed the title feat: Polish mobile responsive for bounty cards, hero, navigation, an… feat: Polish mobile responsive for bounty cards, hero, navigation, and detail views (Closes #833) May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🏭 Bounty T1: Mobile Responsive Polish

1 participant