From 933e8b6feb3e6df6cece2ffdebab58a939a6f69f Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Wed, 11 Mar 2026 13:34:53 +0000 Subject: [PATCH] feat(06-03): add touch-action CSS for mobile optimization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index d8ea750..a3c0366 100644 --- a/index.html +++ b/index.html @@ -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;