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

props Clorith, SergeyBiryukov, ocean90.
fixes #33212.
Built from https://develop.svn.wordpress.org/trunk@33598


git-svn-id: http://core.svn.wordpress.org/trunk@33565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-08-09 18:55:25 +00:00
parent e2b10dad49
commit bd342572f1
9 changed files with 63 additions and 47 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-right: 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-right: 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-right: 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-right: 8em;
.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
margin-right: 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-right: 0;
}
}

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: right;
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-right: 5em;
margin-right: 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-right: 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;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-RC2-33597';
$wp_version = '4.3-RC2-33598';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.