From 732b38490c3f91d9b205aca7cc8539f921d0c8ba Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 20 Oct 2024 18:17:05 +0300 Subject: [PATCH] web/main: disable pinch to zoom on mobile --- web/src/index.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/index.css b/web/src/index.css index 880b4fe..00da08e 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -5,6 +5,11 @@ body { background-color: #EEE; line-height: 1.5; font-size: 16px; + touch-action: none; +} + +html { + touch-action: none; } #root {