Skip to content

fix: make layout fully responsive and consistent across all screens - #12

Merged
robertraf merged 1 commit into
masterfrom
claude/responsive-layout-fix-azXwW
Mar 8, 2026
Merged

fix: make layout fully responsive and consistent across all screens#12
robertraf merged 1 commit into
masterfrom
claude/responsive-layout-fix-azXwW

Conversation

@robertraf

Copy link
Copy Markdown
Owner
  • Remove fixed max-width: 480px from game-container and game-nav, making the layout fill the full screen width on mobile
  • Add responsive breakpoints: 600px, 768px (with side borders), 1024px for progressively wider containers
  • Update planets-grid and inventory-grid to use 3 columns on tablet and 4 on desktop
  • Remove max-width: 280px constraints from SpaceInvaders start screen elements (si-start-desc, si-bonuses, si-start-btn, si-collect-btn) so they match the full-width layout of other screens
  • Increase si-canvas max-width from 360px to 480px for better use of available space
  • Remove max-width: 280px from planet-desc for layout consistency

https://claude.ai/code/session_018bdRwnhyFxc1DT9zJNPkfc

- Remove fixed max-width: 480px from game-container and game-nav, making the layout fill the full screen width on mobile
- Add responsive breakpoints: 600px, 768px (with side borders), 1024px for progressively wider containers
- Update planets-grid and inventory-grid to use 3 columns on tablet and 4 on desktop
- Remove max-width: 280px constraints from SpaceInvaders start screen elements (si-start-desc, si-bonuses, si-start-btn, si-collect-btn) so they match the full-width layout of other screens
- Increase si-canvas max-width from 360px to 480px for better use of available space
- Remove max-width: 280px from planet-desc for layout consistency

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

github-actions Bot commented Mar 8, 2026

Copy link
Copy Markdown

Preview deployment

URL https://pr-12.spacecraft-50l.pages.dev
Commit 46ffdc5
Status Ready

Deployment updated on every push to this PR.

@robertraf
robertraf merged commit ac0708b into master Mar 8, 2026
1 check passed
@robertraf
robertraf deleted the claude/responsive-layout-fix-azXwW branch March 8, 2026 14:08
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