feat(classic-games): 新增 Mini Checkers Jump 小游戏#993
Conversation
Made-with: Cursor
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b7a47576b9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <div id="message" class="text-stone-200">Select a piece to jump.</div> | ||
| </section> | ||
|
|
||
| <section id="board" class="grid aspect-square max-h-[72vh] grid-cols-5 gap-2 self-center"></section> |
There was a problem hiding this comment.
Give the board a definite width
When this page is opened, the board is a centered flex item with only aspect-square and max-h, so it shrink-wraps to the grid contents instead of using the available container width; the cells render roughly text-sized rather than as a usable 5x5 board. Add a real width/max-width constraint, such as w-full max-w-[...], so the aspect ratio has a definite dimension to size from.
Useful? React with 👍 / 👎.
Summary
File
Validation
Audit
History Check