mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
Twenty Seventeen: Ensure edit button label displays properly in other languages
This bug occurred in any language where text wraps character-by-character, since those languages don't delimit words with spaces. In Japanese, Chinese and Korean, etc., it was possible for the label to be displayed vertically. Props tg29359, afercia, odysseygate. Fixes #38876. Built from https://develop.svn.wordpress.org/trunk@39341 git-svn-id: http://core.svn.wordpress.org/trunk@39281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
46b2ef90be
commit
68f5457770
@ -2014,10 +2014,12 @@ body:not(.twentyseventeen-front-page) .entry-header {
|
|||||||
color: #222;
|
color: #222;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search .page .entry-meta a.post-edit-link {
|
.search .page .entry-meta a.post-edit-link {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.taxonomy-description {
|
.taxonomy-description {
|
||||||
@ -2134,6 +2136,7 @@ body:not(.twentyseventeen-front-page) .entry-header {
|
|||||||
padding: 0.7em 2em;
|
padding: 0.7em 2em;
|
||||||
-webkit-transition: background-color 0.2s ease-in-out;
|
-webkit-transition: background-color 0.2s ease-in-out;
|
||||||
transition: background-color 0.2s ease-in-out;
|
transition: background-color 0.2s ease-in-out;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-footer .edit-link a.post-edit-link:hover,
|
.entry-footer .edit-link a.post-edit-link:hover,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-beta4-39340';
|
$wp_version = '4.7-beta4-39341';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user