Customizer: Increase initial-scale viewport specification to 1.0.

see #31794, #28784.

git-svn-id: https://develop.svn.wordpress.org/trunk@31921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-03-29 12:22:33 +00:00
parent 6a7a92e0ea
commit bb57072f82
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ $body_class = 'wp-core-ui wp-customizer js';
if ( wp_is_mobile() ) : if ( wp_is_mobile() ) :
$body_class .= ' mobile'; $body_class .= ' mobile';
?><meta name="viewport" id="viewport-meta" content="width=device-width, initial-scale=0.8, minimum-scale=0.5, maximum-scale=1.2" /><?php ?><meta name="viewport" id="viewport-meta" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=1.2" /><?php
endif; endif;
$is_ios = wp_is_mobile() && preg_match( '/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT'] ); $is_ios = wp_is_mobile() && preg_match( '/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT'] );