mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Customize: Use selective refresh for custom header changes when possible.
* Use `postMessage` transport for header image settings by default when video headers are supported, and thus `the_custom_header_markup()` will necessarily be used (and thus a selective refresh partial will be available). * Ensure that `the_custom_header_markup()` always outputs a container element in the customizer preview even if the header is empty. * Ensure that edit shortcut appearing for custom header does not get positioned off-screen. Props bradyvercher, westonruter. See #38639. Fixes #38737. git-svn-id: https://develop.svn.wordpress.org/trunk@39227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -74,6 +74,9 @@
|
||||
0 1px 1px #006799,
|
||||
-1px 0 1px #006799;
|
||||
}
|
||||
.wp-custom-header .customize-partial-edit-shortcut button {
|
||||
left: 2px
|
||||
}
|
||||
|
||||
.customize-partial-edit-shortcut button svg {
|
||||
fill: #fff;
|
||||
|
||||
Reference in New Issue
Block a user