mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Fix feature pointer RTL placement.
props SergeyBiryukov, ocean90. fixes #27778. git-svn-id: https://develop.svn.wordpress.org/trunk@28107 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1978,13 +1978,13 @@ final class WP_Internal_Pointers {
|
||||
|
||||
if ( 'themes' === get_current_screen()->id ) {
|
||||
$selector = '.theme.active .customize';
|
||||
$position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center' );
|
||||
$position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center', 'my' => is_rtl() ? 'right-13px' : '' );
|
||||
} else {
|
||||
$selector = 'a[href="customize.php"]';
|
||||
if ( is_rtl() ) {
|
||||
$position = array( 'edge' => 'right', 'align' => 'center-8px', 'my' => 'right-5px' );
|
||||
$position = array( 'edge' => 'right', 'align' => 'center', 'my' => 'right-5px' );
|
||||
} else {
|
||||
$position = array( 'edge' => 'left', 'align' => 'center-8px', 'my' => 'left-5px' );
|
||||
$position = array( 'edge' => 'left', 'align' => 'center', 'my' => 'left-5px' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user