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

props Clorith, SergeyBiryukov, ocean90.
fixes #33212.

git-svn-id: https://develop.svn.wordpress.org/trunk@33598 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-08-09 18:54:37 +00:00
parent 7ef82c235a
commit 6741897dd0
2 changed files with 29 additions and 21 deletions

View File

@ -58,14 +58,6 @@ body.locale-he-il .press-this a.wp-switch-editor {
.locale-zh-cn #sort-buttons { font-size: 1em !important; }
/* de_DE: Text needs more space for translation */
.locale-de-de .inline-edit-row fieldset label span.title,
.locale-de-de-formal .inline-edit-row fieldset label span.title {
width: 7em; /* default 5em */
}
.locale-de-de .inline-edit-row fieldset label span.input-text-wrap,
.locale-de-de-formal .inline-edit-row fieldset label span.input-text-wrap {
margin-left: 7em; /* default 5em */
}
.locale-de-de #customize-header-actions .button,
.locale-de-de-formal #customize-header-actions .button {
padding: 0 5px 1px; /* default 0 10px 1px */
@ -76,11 +68,13 @@ body.locale-he-il .press-this a.wp-switch-editor {
}
/* ru_RU: Text needs more room to breathe. */
.locale-ru-ru .inline-edit-row fieldset label span.title {
width: 8em; /* default 5em */
.locale-ru-ru .inline-edit-row fieldset label span.title,
.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend {
width: 8em; /* default 6em */
}
.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap {
margin-left: 8em; /* default 5em */
.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap {
margin-left: 8em; /* default 6em */
}
.locale-ru-ru.post-php .tagsdiv .newtag,
.locale-ru-ru.post-new-php .tagsdiv .newtag {
@ -100,9 +94,20 @@ body.locale-he-il .press-this a.wp-switch-editor {
}
/* lt_LT: QuickEdit */
.locale-lt-lt .inline-edit-row fieldset label span.title {
width: 8em;
.locale-lt-lt .inline-edit-row fieldset label span.title,
.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend {
width: 8em; /* default 6em */
}
.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap {
margin-left: 8em;
.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
margin-left: 8em; /* default 6em */
}
@media screen and (max-width: 782px) {
.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,
.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
margin-left: 0;
}
}

View File

@ -999,7 +999,7 @@ tr.inline-edit-row td,
.inline-edit-row fieldset.inline-edit-date legend {
display: block;
float: left;
width: 5em;
width: 6em;
line-height: 2.5;
}
@ -1012,9 +1012,10 @@ tr.inline-edit-row td,
line-height: 28px;
}
.inline-edit-row fieldset label span.input-text-wrap {
.inline-edit-row fieldset label span.input-text-wrap,
.inline-edit-row fieldset .timestamp-wrap {
display: block;
margin-left: 5em;
margin-left: 6em;
}
.quick-edit-row-post fieldset.inline-edit-col-right label span.title {
@ -1942,7 +1943,8 @@ div.action-links,
font-size: 16px;
}
.inline-edit-row fieldset label span.title {
.inline-edit-row fieldset label span.title,
.inline-edit-row fieldset.inline-edit-date legend {
float: none;
}
@ -1954,7 +1956,8 @@ div.action-links,
padding: 0;
}
.inline-edit-row fieldset label span.input-text-wrap {
.inline-edit-row fieldset label span.input-text-wrap,
.inline-edit-row fieldset .timestamp-wrap {
margin-left: 0;
}