Skip to content

Commit 976e316

Browse files
committed
Ensure the page can be pinch to zoomed
I've tested in latest versions of iOS and Android. - iOS v10 onwards ignores disabling pinch to zoom - Android does not ignore disabling pinch to zoom, although the user can override this. I have not been able to introduce any negative impact for removing pinch to zoom, the interface scales proportionally and does not obstruct anything. So given that iOS already ignores this I think we should allow this for all users. This is also a WCAG accessibility requirement. Fixes #110
1 parent a2ba614 commit 976e316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/source/layouts/core.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta content="IE=edge" http-equiv="X-UA-Compatible">
55
<meta charset="utf-8">
6-
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
77
<% if config[:tech_docs][:prevent_indexing] %>
88
<meta name="robots" content="noindex">
99
<% end %>

0 commit comments

Comments
 (0)