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:
parent
6a7a92e0ea
commit
bb57072f82
|
@ -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'] );
|
||||||
|
|
Loading…
Reference in New Issue