[wp-trac] [WordPress Trac] #46695: Twenty Thirteen: Long non-breaking text strings can cause horizontal scrolling
WordPress Trac
noreply at wordpress.org
Thu Mar 28 14:07:28 UTC 2019
#46695: Twenty Thirteen: Long non-breaking text strings can cause horizontal
scrolling
-------------------------------------------------+-------------------------
Reporter: ianbelanger | Owner:
| ianbelanger
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch has-screenshots needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Comment (by ianbelanger):
46695.diff adds
{{{
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
word-wrap: break-word;
}}}
to these selectors:
{{{
.site-title,
.site-description,
.entry-title,
.post-navigation .nav-links,
.comments-title
}}}
to prevent horizontal scrolling when long non-breaking text strings are
used.
However, `hyphens: auto;` currently only works in Firefox. Unfortunately
nothing worked for me in Chrome, IE11 or Edge.
This patch was tested on a Windows 10 machine, in Firefox, Chrome, IE11
and Edge browsers
Testing in other OS's and browsers would be appreciated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46695#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list