Disable page zoom on iOS to prevent accidental pinch-to-zoom
maximum-scale=1 + user-scalable=no prevents the browser UI from zooming when pinching. Map zoom (Leaflet) still works since it handles touch events independently. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ca48284252
commit
9b3c0a8d44
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
|||
<html lang={i18n.language}>
|
||||
<head>
|
||||
<meta charSet="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue