WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/13/2014 11:59:01 PM (8 years ago)
Author:
nacin
Message:

Fix feature pointer RTL placement.

props SergeyBiryukov, ocean90.
fixes #27778.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r28093 r28107  
    19791979        if ( 'themes' === get_current_screen()->id ) {
    19801980            $selector = '.theme.active .customize';
    1981             $position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center' );
     1981            $position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center', 'my' => is_rtl() ? 'right-13px' : '' );
    19821982        } else {
    19831983            $selector = 'a[href="customize.php"]';
    19841984            if ( is_rtl() ) {
    1985                 $position = array( 'edge' => 'right', 'align' => 'center-8px', 'my' => 'right-5px' );
     1985                $position = array( 'edge' => 'right', 'align' => 'center', 'my' => 'right-5px' );
    19861986            } else {
    1987                 $position = array( 'edge' => 'left', 'align' => 'center-8px', 'my' => 'left-5px' );
     1987                $position = array( 'edge' => 'left', 'align' => 'center', 'my' => 'left-5px' );
    19881988            }
    19891989        }
Note: See TracChangeset for help on using the changeset viewer.