diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
index 86cb949..c4640c3 100644
|
|
|
715 | 715 | content.show( 0, function() { |
716 | 716 | position = content.offset().top; |
717 | 717 | scroll = container.scrollTop(); |
718 | | content.css( 'margin-top', ( 45 - position - scroll ) ); |
| 718 | content.css( 'margin-top', ( $( '#customize-header-actions' ).height() - position - scroll ) ); |
719 | 719 | section.addClass( 'current-panel' ); |
720 | 720 | overlay.addClass( 'in-themes-panel' ); |
721 | 721 | container.scrollTop( 0 ); |
… |
… |
|
1039 | 1039 | }); |
1040 | 1040 | |
1041 | 1041 | content.show( 0, function() { |
| 1042 | content.parent().show(); |
1042 | 1043 | position = content.offset().top; |
1043 | 1044 | scroll = container.scrollTop(); |
1044 | | content.css( 'margin-top', ( 45 - position - scroll ) ); |
| 1045 | content.css( 'margin-top', ( $( '#customize-header-actions' ).height() - position - scroll ) ); |
1045 | 1046 | section.addClass( 'current-panel' ); |
1046 | 1047 | overlay.addClass( 'in-sub-panel' ); |
1047 | 1048 | container.scrollTop( 0 ); |