Fix: Make leaderboard responsive on mobile with horizontal scroll. Cl… #51
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.
Description
This PR fixes the mobile responsiveness issues in the
PublicLeaderboardcomponent by making the leaderboard horizontally scrollable on smaller screens. This prevents column compression and text overlap, ensuring a better UX on mobile devices while maintaining the existing layout on larger screens.Screen.Recording.2026-01-11.004137.mp4
Type of Change
Related Issue
Closes #45
Changes Made
Please list the specific changes made in this PR:
overflow-x-autocontainer to enable horizontal scrolling on mobile.min-w-[600px]to the inner grid container to preserve column widths and prevent compression.Testing Done
Please describe how you tested your changes:
npm run dev)npm run build && npm start)npm run lint)Checklist
IMPORTANT: Please ensure all items are checked before submitting. PRs that don't follow these guidelines may be closed.