Skip to content

fix(play): start the desktop game page under the header - #363

Merged
ashtonanderson merged 1 commit into
mainfrom
claude/game-page-top
Nov 7, 2026
Merged

ashtonanderson merged 1 commit into
mainfrom
claude/game-page-top

Conversation

@ashtonanderson

Copy link
Copy Markdown
Member

What

On a desktop, the game page (/play/maia) centred the game vertically in a screen-tall area (justify-center in GameplayInterface's desktop layout, since October 2025). So the board sat under a band of empty space below the header, and the bigger the window, the bigger the band. Hand and Brain's game uses the same layout but already started at the top.

Change

justify-center → justify-start in the desktop layout. The phone layout is untouched.

Checked

Board position on the live site (before) and a production build (after) (loadperf/tools/game-top.mjs, game requests faked):

Window /play/maia before → after Hand & Brain Analysis (for comparison)
1280×720 150 → 80 px 80 → 80 100
1440×900 173 → 80 px 80 → 80 100
1920×1080 195 → 80 px 80 → 80 100
2560×1440 240 → 80 px 80 → 80 100
1024×768 (tablet layout) 164 → 164 72 → 72 176

The page height is unchanged at every size, so nothing moves below the fold. npm test (268), tsc, eslint and prettier pass.

🤖 Generated with Claude Code

On a desktop, /play/maia centred the game vertically in a screen-tall
area, so it sat under a band of empty space: the board started 150 px
from the top in a 1280x720 window, 173 px at 1440x900, 195 px at
1920x1080 and 240 px at 2560x1440. It now starts at 80 px at every size,
as Hand and Brain's game already did. The phone layout and the tablet
widths, which use other layouts, are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
maia-platform-frontend Ready Ready Preview Nov 7, 2026 8:06am UTC

Request Review

@ashtonanderson
ashtonanderson merged commit 4be7df1 into main Nov 7, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — d494006e Deployed Nov 7, 2026 by vercel[bot]
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