mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Twenty Fifteen: pinching to zoom in on landscape on iPads is breaking the layout with the sticky sidebar. Providing a one-column view on those screens looks good and will likely prevent other bugs we don't even know about.
Props iamtakashi, fixes #30366. Built from https://develop.svn.wordpress.org/trunk@30565 git-svn-id: http://core.svn.wordpress.org/trunk@30554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
45343aa5d2
commit
654047e35b
@ -12,7 +12,7 @@
|
||||
<html <?php language_attributes(); ?> class="no-js">
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
||||
<!--[if lt IE 9]>
|
||||
|
@ -3918,18 +3918,6 @@ span > video {
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
body:before,
|
||||
.sidebar-fixed .site-header,
|
||||
.sidebar-fixed .main-navigation,
|
||||
.sidebar-fixed .social-navigation,
|
||||
.sidebar-fixed .widget {
|
||||
-webkit-transform: translateZ(0); /* Fixes flashing bug with scrolling on iOS Safari */
|
||||
}
|
||||
|
||||
.sidebar-fixed .sidebar {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
body:before {
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
|
||||
@ -3941,6 +3929,7 @@ span > video {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 29.4118%;
|
||||
z-index: 0; /* Fixes flashing bug with scrolling on Safari */
|
||||
}
|
||||
|
||||
.site {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-beta2-30564';
|
||||
$wp_version = '4.1-beta2-30565';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user