Skip to content

Keep game stats width stable across tabs - #56

Merged
avatarneil merged 1 commit into
mainfrom
fix/consistent-stats-panel-size
Sep 14, 2026
Merged

avatarneil merged 1 commit into
mainfrom
fix/consistent-stats-panel-size

Conversation

@avatarneil

@avatarneil avatarneil commented Sep 14, 2026

Copy link
Copy Markdown
Owner

On iPad Safari, the game-stats dialog's inner column can shrink to the Stats tab's intrinsic width, then expand when the Momentum chart renders. The content root now explicitly fills the dialog and allows wide children to shrink within it, keeping the field, tabs, tab content, and footer aligned across tab changes.

The new iPad-landscape regression test measures the dialog and tab panel before and after switching from Stats to Momentum and verifies that their dimensions stay stable.

Validation:

  • bun run type-check
  • bun run lint (passes with 7 existing warnings)
  • bunx oxfmt --check on changed files
  • bunx next build --webpack
  • e2e/tests/game-stats-sizing.spec.ts passes in Chromium and Firefox CI

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nfl-playoff-bracket Ready Ready Preview Sep 14, 2026 3:58am UTC

Request Review

@avatarneil
avatarneil merged commit a9e9e2c into main Sep 14, 2026
10 checks passed
@avatarneil
avatarneil deleted the fix/consistent-stats-panel-size branch September 14, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant