Ticket #27778: 27778.3.diff
File 27778.3.diff, 1.7 KB (added by , 11 years ago) |
---|
-
src/wp-admin/includes/template.php
1978 1978 1979 1979 if ( 'themes' === get_current_screen()->id ) { 1980 1980 $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' : '' ); 1982 1982 } else { 1983 1983 $selector = 'a[href="customize.php"]'; 1984 1984 if ( is_rtl() ) { 1985 $position = array( 'edge' => 'right', 'align' => 'center -8px', 'my' => 'right-5px' );1985 $position = array( 'edge' => 'right', 'align' => 'center', 'my' => 'right-5px' ); 1986 1986 } else { 1987 $position = array( 'edge' => 'left', 'align' => 'center -8px', 'my' => 'left-5px' );1987 $position = array( 'edge' => 'left', 'align' => 'center', 'my' => 'left-5px' ); 1988 1988 } 1989 1989 } 1990 1990 -
src/wp-includes/css/wp-pointer.css
188 188 } 189 189 190 190 .wp-pointer-right .wp-pointer-arrow:before { 191 margin-left: -1 4px;191 margin-left: -12px; 192 192 margin-top: -13px; 193 193 border: 13px solid transparent; 194 194 border-left-color: #fff; … … 196 196 content: ' '; 197 197 } 198 198 199 .rtl .wp-pointer-arrow:before { 200 -webkit-transform: rotateY(180deg); 201 -ms-transform: rotateY(180deg); 202 transform: rotateY(180deg); 203 } 204 199 205 /* Disable pointers at responsive sizes */ 200 206 @media screen and ( max-width: 782px ) { 201 207 .wp-pointer {