mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +00:00
fix(ui): a phone no longer zooms the page when a text field gets focus
iPhone Safari zooms the page in whenever a text field under 16 px gets focus, and every field in the app is under 16 px, so tapping the search box left the page zoomed in with its buttons out of reach. The viewport now has a maximum scale of 1, as map pages usually do: the map handles pinch zoom itself, and iPhones still let a pinch zoom the page.
This commit is contained in:
1 parent
e02f6c6e39
commit
340f3b59ab
1 file changed
+1
-1
+1
-1
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
|
||||
<title>God's Eye View</title>
|
||||
<!-- Raster fallbacks: Safari ignores an SVG apple-touch-icon and falls back to a
|
||||
screenshot of the page, so an installed app needs a real PNG. Regenerate
|
||||
|
||||
Reference in new issue
Block a user