From 154010ea664cafb322d76d57d1e2780e1fa87b0d 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 - 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 --- gsd-framework/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gsd-framework/index.html b/gsd-framework/index.html index d8ea750..a3c0366 100644 --- a/gsd-framework/index.html +++ b/gsd-framework/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;