Skip to content

fix: space invaders controls always visible in viewport - #16

Merged
robertraf merged 2 commits into
masterfrom
claude/fix-space-invaders-controls-EO2P4
Mar 8, 2026
Merged

fix: space invaders controls always visible in viewport#16
robertraf merged 2 commits into
masterfrom
claude/fix-space-invaders-controls-EO2P4

Conversation

@robertraf

Copy link
Copy Markdown
Owner
  • Hide si-header during playing phase (canvas already draws its own HUD
    with score/wave/lives, so the React header was redundant and wasted space)
  • Add max-height: calc(100svh - 160px) to canvas so it never grows tall
    enough to push the controls below the fixed navbar
  • Reduce .space-invaders gap to 8px and ensure full width for tighter layout

https://claude.ai/code/session_01Uac2RGahZXVMbL65nmBrV2

claude added 2 commits March 8, 2026 18:50
- Hide si-header during playing phase (canvas already draws its own HUD
  with score/wave/lives, so the React header was redundant and wasted space)
- Add max-height: calc(100svh - 160px) to canvas so it never grows tall
  enough to push the controls below the fixed navbar
- Reduce .space-invaders gap to 8px and ensure full width for tighter layout

https://claude.ai/code/session_01Uac2RGahZXVMbL65nmBrV2
@github-actions

github-actions Bot commented Mar 8, 2026

Copy link
Copy Markdown

Preview deployment

URL https://pr-16.spacecraft-50l.pages.dev
Commit 5eb3c8c
Status Ready

Deployment updated on every push to this PR.

@robertraf
robertraf merged commit 204d1ed into master Mar 8, 2026
1 check passed
@robertraf
robertraf deleted the claude/fix-space-invaders-controls-EO2P4 branch March 8, 2026 19:05
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.

2 participants