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. git-svn-id: https://develop.svn.wordpress.org/trunk@39341 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
59db3d7e76
commit
d6d843dccd
@ -2014,10 +2014,12 @@ body:not(.twentyseventeen-front-page) .entry-header {
|
||||
color: #222;
|
||||
display: inline-block;
|
||||
margin-left: 1em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.search .page .entry-meta a.post-edit-link {
|
||||
margin-left: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.taxonomy-description {
|
||||
@ -2134,6 +2136,7 @@ body:not(.twentyseventeen-front-page) .entry-header {
|
||||
padding: 0.7em 2em;
|
||||
-webkit-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,
|
||||
|
Loading…
Reference in New Issue
Block a user