Make WordPress Core

Ticket #27778: 27778.3.diff

File 27778.3.diff, 1.7 KB (added by ocean90, 11 years ago)
  • src/wp-admin/includes/template.php

     
    19781978
    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                }
    19901990
  • src/wp-includes/css/wp-pointer.css

     
    188188}
    189189
    190190.wp-pointer-right .wp-pointer-arrow:before {
    191         margin-left: -14px;
     191        margin-left: -12px;
    192192        margin-top: -13px;
    193193        border: 13px solid transparent;
    194194        border-left-color: #fff;
     
    196196        content: ' ';
    197197}
    198198
     199.rtl .wp-pointer-arrow:before {
     200        -webkit-transform: rotateY(180deg);
     201        -ms-transform:     rotateY(180deg);
     202        transform:         rotateY(180deg);
     203}
     204
    199205/* Disable pointers at responsive sizes */
    200206@media screen and ( max-width: 782px ) {
    201207        .wp-pointer {