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.



git-svn-id: https://develop.svn.wordpress.org/trunk@35251 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2015-10-17 22:40:10 +00:00
parent 641e372432
commit f8e79c5bbc
1 changed files with 10 additions and 0 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.
*