Customizer: Improve the collapsed view when switching to the responsive view.

Props rittesh.patel, afercia.

Fixes #35220.
Built from https://develop.svn.wordpress.org/trunk@36877


git-svn-id: http://core.svn.wordpress.org/trunk@36844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-03-07 22:05:27 +00:00
parent dc2f39b7f0
commit 5bd8219816
5 changed files with 15 additions and 3 deletions

View File

@ -1529,6 +1529,12 @@ body.adding-widget .add-new-widget:before,
margin-right: 0; margin-right: 0;
} }
/* when the sidebar is collapsed and switching to responsive view,
bring it back see ticket #35220 */
.wp-full-overlay.collapsed #customize-controls {
margin-right: 0;
}
.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
bottom: 0; bottom: 0;
} }

File diff suppressed because one or more lines are too long

View File

@ -1529,6 +1529,12 @@ body.adding-widget .add-new-widget:before,
margin-left: 0; margin-left: 0;
} }
/* when the sidebar is collapsed and switching to responsive view,
bring it back see ticket #35220 */
.wp-full-overlay.collapsed #customize-controls {
margin-left: 0;
}
.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
bottom: 0; bottom: 0;
} }

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-beta2-36876'; $wp_version = '4.5-beta2-36877';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.