feat: Polish mobile responsive for bounty cards, hero, navigation, and detail views (Closes #833)#1245
Open
sepulchralvoid666 wants to merge 1 commit into
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
p-4 sm:p-5(wasp-5)text-base sm:text-lgwithwhitespace-nowrapto prevent overflowgap-2withshrink-0on meta section to prevent crowding{n}instead of{n} PRs)hidden xs:inline), only dot shown on tiny screensright-4 sm:right-5HeroSection.tsx
min-h-[80vh] sm:min-h-[90vh],px-3 sm:px-4,pt-20 sm:pt-24,pb-12 sm:pb-16max-w-sm sm:max-w-xl(wasmax-w-xl— overflowed at 375px)p-4 sm:p-5,text-xs sm:text-sm(wasp-5,text-sm)text-3xl sm:text-4xl md:text-5xl(wastext-4xl md:text-5xl)text-base sm:text-lg,mt-3 sm:mt-4,px-2for edge paddingpx-4 sm:px-6 py-2.5 sm:py-3(waspx-6 py-3)flex-wrapwithgap-x-4 gap-y-2 sm:gap-6,text-xs sm:text-smBountyGrid.tsx
text-xl sm:text-2xl,gap-3 sm:gap-4,mb-6 sm:mb-8overflow-x-auto scrollbar-none) instead offlex-wrap,whitespace-nowrapon buttons,pb-2 sm:pb-0BountyDetail.tsx
px-3 sm:px-4,py-6 sm:py-8mb-4 sm:mb-6p-4 sm:p-6,gap-3 sm:gap-4truncatewithmin-w-0on flex childtext-xl sm:text-2xl,leading-snugfor better wrappingindex.css
.scrollbar-noneutility class (webkit + Firefox + IE) for the horizontal scroll filter pillsHow to test
Closes #833
Wallet: 2JHa4QQWNV7AGSGsVeX1cwjZtFcmTTomb1TrJmQthoh3