mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Customize: Remove gap above section contained in panel when initially focusing on control.
Props mattwiebe. Fixes #36050. git-svn-id: https://develop.svn.wordpress.org/trunk@36805 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -685,7 +685,7 @@
|
||||
// Fix the height after browser resize.
|
||||
$( window ).on( 'resize.customizer-section', _.debounce( resizeContentHeight, 100 ) );
|
||||
|
||||
section._recalculateTopMargin();
|
||||
setTimeout( _.bind( section._recalculateTopMargin, section ), 0 );
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user