Polish mobile scoring cards and nav#261
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR focuses on mobile UI polish in scoring graphs and the global header, improving readability on small screens while keeping desktop layouts compact and preventing horizontal overflow in the nav.
Changes:
- Increased mobile typography sizes inside Win Probability and Hot & Cold scoring cards (with
md:breakpoints to preserve desktop density). - Adjusted grid/header alignment and spacing in the Hot & Cold card to match the player label column.
- Tightened the mobile header flex layout in
NavBarto better constrain/shrink long organization names and reduce horizontal overflow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/components/scoring/graphs/WinProbabilityCard.tsx |
Bumps internal label/value typography on mobile and improves layout wrapping for “Projected finish”. |
src/components/scoring/graphs/HotColdCard.tsx |
Increases mobile grid text sizes and reworks round header alignment to match the player label column. |
src/app/NavBar.tsx |
Updates header flex sizing/gaps and constrains the org switcher region to reduce mobile overflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <div className="ml-auto flex min-w-0 flex-1 items-center justify-end gap-2 md:gap-2 lg:gap-4"> | ||
| <Show when="signed-in"> | ||
| <div className="max-w-[200px] overflow-hidden md:max-w-none"> | ||
| <div className="min-w-0 max-w-[120px] flex-shrink overflow-hidden sm:max-w-[180px] md:max-w-[220px] lg:max-w-none"> |
mwickett
marked this pull request as ready for review
June 13, 2026 17:06
Comment on lines
+43
to
49
| <Link href="/games/new"> | ||
| <Button | ||
| size="lg" | ||
| className="font-semibold px-8 py-6 text-lg bg-brandAccent hover:bg-brandAccent/90" | ||
| > | ||
| Go to Dashboard <ArrowRight className="ml-2 h-5 w-5" /> | ||
| Start New Game <ArrowRight className="ml-2 h-5 w-5" /> | ||
| </Button> |
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.
Summary
Fixes #219
Fixes #220
Validation
Notes