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

Fixes #41623.


git-svn-id: https://develop.svn.wordpress.org/trunk@41246 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-08-13 05:41:34 +00:00
parent 3c8584e87f
commit cc8cbb38c9

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
} );