feat(06-03): add touch-action CSS for mobile optimization

- Add touch-action: none to canvas to prevent zoom/scroll
- Add overflow: hidden to body to prevent page scroll
- Mobile touch gestures now properly blocked during gameplay


🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-03-11 13:34:53 +00:00
parent fb49a0412b
commit 933e8b6feb
+2
View File
@@ -16,9 +16,11 @@
align-items: center;
min-height: 100vh;
background-color: #1a1a2e;
overflow: hidden; /* Prevent scroll */
}
#game {
border-radius: 8px;
touch-action: none; /* Prevent all touch gestures */
}
#score-display {
position: absolute;