diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 4b153a4494..fe1f18b8a8 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -807,6 +807,11 @@ p.customize-section-description { position: relative; text-align: center; cursor: default; + border: 1px dashed #b4b9be; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + min-height: 40px; } .customize-control-media .inner, @@ -844,7 +849,7 @@ p.customize-section-description { .customize-control-header .inner, .customize-control-header .inner .dashicons { line-height: 20px; - top: 10px; + top: 8px; } .customize-control-header .list .inner, diff --git a/src/wp-includes/js/customize-views.js b/src/wp-includes/js/customize-views.js index e5d168de41..83792cb1b6 100644 --- a/src/wp-includes/js/customize-views.js +++ b/src/wp-includes/js/customize-views.js @@ -63,9 +63,7 @@ setPlaceholder: function(_height) { var height = _height || this.getHeight(); this.model.set('savedHeight', height); - this.$el - .add(this.$el.find('.placeholder')) - .height(height); + this.$el.height(height); }, setButtons: function() {