mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
Disable auto-zoom on mobile form UIs
Summary: Chrome and Safari both zoom in on form (input, select, textarea) when it thinks the text is too small (less than 16px... which is huge). This turns user-scalable off. The only drawback is double-tap to zoom will be disabled as well, but given we already responsively design, I don't think thats an issue. Test Plan: iOS simulator on secure and local test instances. Click on an input, no longer see UI zoom in. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D17714
This commit is contained in:
parent
02194f0fc8
commit
953ab039ac
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class PhabricatorBarePageView extends AphrontPageView {
|
||||||
'name' => 'viewport',
|
'name' => 'viewport',
|
||||||
'content' => 'width=device-width, '.
|
'content' => 'width=device-width, '.
|
||||||
'initial-scale=1, '.
|
'initial-scale=1, '.
|
||||||
'maximum-scale=1',
|
'user-scalable=no',
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue