fix: disable mobile zoom to prevent input auto-zoom on iOS

Added maximum-scale=1.0, user-scalable=no to viewport meta tag.
Prevents iOS Safari from auto-zooming when focusing inputs with font-size < 16px.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-12 13:36:37 +08:00
parent f4847bc748
commit f9eed82afb
+1 -1
View File
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/favicon.png" /> <link rel="icon" type="image/png" href="/favicon.png" />
<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.0, user-scalable=no" />
<title>企迹 - 政企周报管理系统</title> <title>企迹 - 政企周报管理系统</title>
<!-- Preconnect to Google Fonts origins for faster font loading --> <!-- Preconnect to Google Fonts origins for faster font loading -->