Customizer: Fix margin-top calculation for Themes section.

Ensure that the Themes section calculates its `margin-top` as a panel, since the section behaves as one. Fixes regression caused by [35231].

See #33567.


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


git-svn-id: http://core.svn.wordpress.org/trunk@35217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2015-10-17 22:41:25 +00:00
parent 443ce28304
commit f676fdcee3
3 changed files with 13 additions and 3 deletions

View File

@ -975,6 +975,16 @@
}
},
/**
* Recalculate the top margin.
*
* @since 4.4.0
* @private
*/
_recalculateTopMargin: function() {
api.Panel.prototype._recalculateTopMargin.call( this );
},
/**
* Render control's screenshot if the control comes into view.
*

File diff suppressed because one or more lines are too long

View File

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