mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
Customize: Fix mobile placement of panes for available widgets and nav menu items.
Props Mahvash-Fatima. Amends [41893]. See #42215. Fixes #42359. Built from https://develop.svn.wordpress.org/trunk@42036 git-svn-id: http://core.svn.wordpress.org/trunk@41870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84b969efea
commit
cb7483b595
@ -2864,11 +2864,6 @@ body.adding-widget .add-new-widget:before,
|
|||||||
|
|
||||||
@media screen and ( max-width: 640px ) {
|
@media screen and ( max-width: 640px ) {
|
||||||
|
|
||||||
.wp-full-overlay.expanded,
|
|
||||||
.outer-section-open .wp-full-overlay.expanded {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* when the sidebar is collapsed and switching to responsive view,
|
/* when the sidebar is collapsed and switching to responsive view,
|
||||||
bring it back see ticket #35220 */
|
bring it back see ticket #35220 */
|
||||||
.wp-full-overlay.collapsed #customize-controls {
|
.wp-full-overlay.collapsed #customize-controls {
|
||||||
@ -2931,10 +2926,6 @@ body.adding-widget .add-new-widget:before,
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-full-overlay.expanded {
|
|
||||||
margin-right: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-core-ui.wp-customizer .button {
|
.wp-core-ui.wp-customizer .button {
|
||||||
padding: 6px 14px;
|
padding: 6px 14px;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
@ -2954,20 +2945,9 @@ body.adding-widget .add-new-widget:before,
|
|||||||
body.adding-widget div#available-widgets,
|
body.adding-widget div#available-widgets,
|
||||||
body.adding-menu-items div#available-menu-items,
|
body.adding-menu-items div#available-menu-items,
|
||||||
body.outer-section-open div#customize-sidebar-outer-content {
|
body.outer-section-open div#customize-sidebar-outer-content {
|
||||||
top: 46px;
|
|
||||||
right: 0;
|
|
||||||
z-index: 10;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
|
||||||
right: -100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#available-widgets .customize-section-title,
|
#available-widgets .customize-section-title,
|
||||||
#available-menu-items .customize-section-title {
|
#available-menu-items .customize-section-title {
|
||||||
display: block;
|
display: block;
|
||||||
@ -3040,4 +3020,23 @@ body.adding-widget .add-new-widget:before,
|
|||||||
padding: 8px 15px;
|
padding: 8px 15px;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-full-overlay.expanded {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.adding-widget div#available-widgets,
|
||||||
|
body.adding-menu-items div#available-menu-items,
|
||||||
|
body.outer-section-open div#customize-sidebar-outer-content {
|
||||||
|
top: 46px;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
||||||
|
right: -100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
2
wp-admin/css/customize-controls-rtl.min.css
vendored
2
wp-admin/css/customize-controls-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -2864,11 +2864,6 @@ body.adding-widget .add-new-widget:before,
|
|||||||
|
|
||||||
@media screen and ( max-width: 640px ) {
|
@media screen and ( max-width: 640px ) {
|
||||||
|
|
||||||
.wp-full-overlay.expanded,
|
|
||||||
.outer-section-open .wp-full-overlay.expanded {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* when the sidebar is collapsed and switching to responsive view,
|
/* when the sidebar is collapsed and switching to responsive view,
|
||||||
bring it back see ticket #35220 */
|
bring it back see ticket #35220 */
|
||||||
.wp-full-overlay.collapsed #customize-controls {
|
.wp-full-overlay.collapsed #customize-controls {
|
||||||
@ -2931,10 +2926,6 @@ body.adding-widget .add-new-widget:before,
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-full-overlay.expanded {
|
|
||||||
margin-left: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-core-ui.wp-customizer .button {
|
.wp-core-ui.wp-customizer .button {
|
||||||
padding: 6px 14px;
|
padding: 6px 14px;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
@ -2954,20 +2945,9 @@ body.adding-widget .add-new-widget:before,
|
|||||||
body.adding-widget div#available-widgets,
|
body.adding-widget div#available-widgets,
|
||||||
body.adding-menu-items div#available-menu-items,
|
body.adding-menu-items div#available-menu-items,
|
||||||
body.outer-section-open div#customize-sidebar-outer-content {
|
body.outer-section-open div#customize-sidebar-outer-content {
|
||||||
top: 46px;
|
|
||||||
left: 0;
|
|
||||||
z-index: 10;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
|
||||||
left: -100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#available-widgets .customize-section-title,
|
#available-widgets .customize-section-title,
|
||||||
#available-menu-items .customize-section-title {
|
#available-menu-items .customize-section-title {
|
||||||
display: block;
|
display: block;
|
||||||
@ -3040,4 +3020,23 @@ body.adding-widget .add-new-widget:before,
|
|||||||
padding: 8px 15px;
|
padding: 8px 15px;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-full-overlay.expanded {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.adding-widget div#available-widgets,
|
||||||
|
body.adding-menu-items div#available-menu-items,
|
||||||
|
body.outer-section-open div#customize-sidebar-outer-content {
|
||||||
|
top: 46px;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
||||||
|
left: -100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
2
wp-admin/css/customize-controls.min.css
vendored
2
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-beta4-42035';
|
$wp_version = '4.9-beta4-42036';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user