The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
fix(web): stop iOS Safari zooming in when the tab menu opens
Dev jacobb61129ba433c
diff --git a/desktop/web/index.html b/desktop/web/index.htmlindex 9e0c16850..bb9509869 100644--- a/desktop/web/index.html+++ b/desktop/web/index.html@@ -15,6 +15,27 @@</head><body><noscript>Enable JavaScript to open your Harness workspace.</noscript>+ <!-- iOS Safari zooms the page when an input under 16px takes focus, and+ Flutter's hidden editing input takes the terminal's smaller font: a tap+ on the tab menu zoomed the whole app. maximum-scale=1 stops that+ auto-zoom; iOS ignores it for pinch, so zooming by hand still works.+ Flutter swaps in its own viewport tag (maximum-scale=5) at startup, so+ the tag is re-pinned whenever one lands. Other platforms keep Flutter's. -->+ <script>+ (function () {+ var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) ||+ (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);+ if (!iOS) return;+ var content = 'width=device-width, initial-scale=1.0, maximum-scale=1.0';+ function pin() {+ document.querySelectorAll('meta[name="viewport"]').forEach(function (meta) {+ if (meta.content !== content) meta.content = content;+ });+ }+ pin();+ new MutationObserver(pin).observe(document.head, { childList: true });+ })();+ </script><!-- Inline Flutter's generated loader so startup needs no extra script round trip. --><script>{{flutter_bootstrap_js}}</script></body>