Customize: Update selector to add `max-height`/`max-width` for wide widgets to account for JS-driven Text widget and Media widgets.

Fixes #41623.

Built from https://develop.svn.wordpress.org/trunk@41246


git-svn-id: http://core.svn.wordpress.org/trunk@41086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-08-13 05:42:42 +00:00
parent 9c3cdaf3fb
commit a5d3688157
3 changed files with 3 additions and 3 deletions

View File

@ -602,7 +602,7 @@
$customizeSidebar = $( '.wp-full-overlay-sidebar-content:first' );
this.container.addClass( 'wide-widget-control' );
this.container.find( '.widget-content:first' ).css( {
this.container.find( '.form:first' ).css( {
'max-width': this.params.width,
'min-height': this.params.height
} );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41245';
$wp_version = '4.9-alpha-41246';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.