Skip to content

Commit 23e9c74

Browse files
committed
fix: prevent accidental pinch and double-tap zoom on mobile
1 parent 69124c5 commit 23e9c74

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
66
<link rel="apple-touch-icon" href="/favicon.svg" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover, maximum-scale=1.0, user-scalable=no" />
88
<meta name="theme-color" content="#00B380" />
99
<meta name="description" content="From talk to insight. AI-powered meeting transcription and summaries." />
1010
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -19,6 +19,18 @@
1919
<meta name="twitter:description" content="From talk to insight." />
2020
<link rel="manifest" href="/manifest.json" />
2121
<title>MINTZA — From talk to insight</title>
22+
<style>
23+
/* Prevent accidental zoom on mobile: block double-tap zoom, keep scroll/tap. */
24+
html {
25+
touch-action: manipulation;
26+
}
27+
</style>
28+
<script>
29+
// iOS Safari ignores user-scalable=no, so block pinch-zoom explicitly.
30+
document.addEventListener('gesturestart', function (e) {
31+
e.preventDefault()
32+
})
33+
</script>
2234
</head>
2335
<body class="bg-white text-ink font-sans antialiased">
2436
<div id="app" class="min-h-screen"></div>

0 commit comments

Comments
 (0)