Skip to content

fix: keep drawing canvas usable in narrow viewports - #485

Merged
electrohyun merged 1 commit into
mainfrom
fix-drawing-game-responsive
Sep 3, 2026
Merged

fix: keep drawing canvas usable in narrow viewports#485
electrohyun merged 1 commit into
mainfrom
fix-drawing-game-responsive

Conversation

@electrohyun

Copy link
Copy Markdown
Owner

Summary

Keep the drawing canvas usable on short, narrow viewports by allowing the mobile page to scroll and reserving enough vertical space for the board and player panels. Reposition the brand below the fixed target badge so the header controls remain distinct at phone widths.

Extend the drawing-game browser verifier with a 375 × 667 layout check for both Smocket and real Socket.IO. It covers canvas height, board containment, header overlap, and access to the delivery record through document scrolling.

Related issue

Closes #482

Checklist

  • Tests added or updated
  • Behavior verified against real socket.io

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
smocket Skipped Skipped Sep 3, 2026 3:03am UTC

@github-actions github-actions Bot added bug Something isn't working 📏 m Pull request changes 50–199 lines labels Sep 3, 2026
@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 47 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 9e1c84a8-dc19-4029-aba7-b79210a0801e

📥 Commits

Reviewing files that changed from the base of the PR and between 0d3ea2c and a019bda.

📒 Files selected for processing (2)
  • examples/drawing-game/src/style.css
  • examples/drawing-game/verify.mjs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@electrohyun
electrohyun merged commit 0cad1b3 into main Sep 3, 2026
18 checks passed
@electrohyun
electrohyun deleted the fix-drawing-game-responsive branch September 3, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working 📏 m Pull request changes 50–199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drawing canvas collapses in short, narrow viewports

1 participant