WordPress.org

Make WordPress Core

Changeset 36639


Ignore:
Timestamp:
02/23/2016 05:26:58 PM (2 years ago)
Author:
ocean90
Message:

Customizer: Contain "No image set/selected" in dashed border.

Props Ankit K Gupta, chris_dev.
Fixes #35826.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-controls.css

    r36582 r36639  
    808808    text-align: center;
    809809    cursor: default;
     810    border: 1px dashed #b4b9be;
     811    -webkit-box-sizing: border-box;
     812    -moz-box-sizing: border-box;
     813    box-sizing: border-box;
     814    min-height: 40px;
    810815}
    811816
     
    845850.customize-control-header .inner .dashicons {
    846851    line-height: 20px;
    847     top: 10px;
     852    top: 8px;
    848853}
    849854
  • trunk/src/wp-includes/js/customize-views.js

    r33329 r36639  
    6464            var height = _height || this.getHeight();
    6565            this.model.set('savedHeight', height);
    66             this.$el
    67                 .add(this.$el.find('.placeholder'))
    68                 .height(height);
     66            this.$el.height(height);
    6967        },
    7068
Note: See TracChangeset for help on using the changeset viewer.