Make WordPress Core

Changeset 22474


Ignore:
Timestamp:
11/08/2012 10:01:06 PM (12 years ago)
Author:
nacin
Message:

Add some ru_RU-specific CSS to the customizer to prevent the spinner from being bumped to the next line. props SergeyBiryukov, see #21890.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/wp-admin.css

    r22458 r22474  
    85248524    width: 245px; /* default 200px + 45px */
    85258525}
     8526.locale-ru-ru #customize-header-actions .button {
     8527    padding: 0 8px 1px; /* default 0 10px 1px; */
     8528}
    85268529
    85278530/* lt_LT: QuickEdit */
  • trunk/wp-admin/customize.php

    r22400 r22474  
    5757if ( $is_ios )
    5858    $body_class .= ' ios';
     59
     60if ( is_rtl() )
     61    $body_class .=  ' rtl';
     62$body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
    5963
    6064$admin_title = sprintf( __( '%1$s — WordPress' ), strip_tags( sprintf( __( 'Customize %s' ), $wp_customize->theme()->display('Name') ) ) );
Note: See TracChangeset for help on using the changeset viewer.