WordPress.org

Make WordPress Core

Changeset 41246


Ignore:
Timestamp:
08/13/2017 05:41:34 AM (3 years ago)
Author:
westonruter
Message:

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

Fixes #41623.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-widgets.js

    r40480 r41246  
    603603            this.container.addClass( 'wide-widget-control' );
    604604
    605             this.container.find( '.widget-content:first' ).css( {
     605            this.container.find( '.form:first' ).css( {
    606606                'max-width': this.params.width,
    607607                'min-height': this.params.height
Note: See TracChangeset for help on using the changeset viewer.