WordPress.org

Make WordPress Core

Changeset 33598


Ignore:
Timestamp:
08/09/2015 06:54:37 PM (3 years ago)
Author:
ocean90
Message:

List tables: Adjust width of Quick Edit labels for longer translations.

props Clorith, SergeyBiryukov, ocean90.
fixes #33212.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

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

    r33027 r33598  
    5959
    6060/* de_DE: Text needs more space for translation */
    61 .locale-de-de .inline-edit-row fieldset label span.title,
    62 .locale-de-de-formal .inline-edit-row fieldset label span.title {
    63     width: 7em; /* default 5em */
    64 }
    65 .locale-de-de .inline-edit-row fieldset label span.input-text-wrap,
    66 .locale-de-de-formal .inline-edit-row fieldset label span.input-text-wrap {
    67     margin-left: 7em; /* default 5em */
    68 }
    6961.locale-de-de #customize-header-actions .button,
    7062.locale-de-de-formal #customize-header-actions .button {
     
    7769
    7870/* ru_RU: Text needs more room to breathe. */
    79 .locale-ru-ru .inline-edit-row fieldset label span.title {
    80     width: 8em; /* default 5em */
     71.locale-ru-ru .inline-edit-row fieldset label span.title,
     72.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend {
     73    width: 8em; /* default 6em */
    8174}
    82 .locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap {
    83     margin-left: 8em; /* default 5em */
     75.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
     76.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap {
     77    margin-left: 8em; /* default 6em */
    8478}
    8579.locale-ru-ru.post-php .tagsdiv .newtag,
     
    10195
    10296/* lt_LT: QuickEdit */
    103 .locale-lt-lt .inline-edit-row fieldset label span.title {
    104     width: 8em;
     97.locale-lt-lt .inline-edit-row fieldset label span.title,
     98.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend {
     99    width: 8em; /* default 6em */
    105100}
    106 .locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap {
    107     margin-left: 8em;
     101.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
     102.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
     103    margin-left: 8em; /* default 6em */
    108104}
     105
     106@media screen and (max-width: 782px) {
     107    .locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
     108    .locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,
     109    .locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
     110    .locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
     111        margin-left: 0;
     112    }
     113}
  • trunk/src/wp-admin/css/list-tables.css

    r33490 r33598  
    10001000    display: block;
    10011001    float: left;
    1002     width: 5em;
     1002    width: 6em;
    10031003    line-height: 2.5;
    10041004}
     
    10131013}
    10141014
    1015 .inline-edit-row fieldset label span.input-text-wrap {
     1015.inline-edit-row fieldset label span.input-text-wrap,
     1016.inline-edit-row fieldset .timestamp-wrap {
    10161017    display: block;
    1017     margin-left: 5em;
     1018    margin-left: 6em;
    10181019}
    10191020
     
    19431944    }
    19441945
    1945     .inline-edit-row fieldset label span.title {
     1946    .inline-edit-row fieldset label span.title,
     1947    .inline-edit-row fieldset.inline-edit-date legend {
    19461948        float: none;
    19471949    }
     
    19551957    }
    19561958
    1957     .inline-edit-row fieldset label span.input-text-wrap {
     1959    .inline-edit-row fieldset label span.input-text-wrap,
     1960    .inline-edit-row fieldset .timestamp-wrap {
    19581961        margin-left: 0;
    19591962    }
Note: See TracChangeset for help on using the changeset viewer.