mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
443ce28304
commit
f676fdcee3
@ -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.
|
||||
*
|
||||
|
4
wp-admin/js/customize-controls.min.js
vendored
4
wp-admin/js/customize-controls.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user