[wp-trac] [WordPress Trac] #60892: About Page: `text-wrap: balance; `adds unintended new lines in Japaneese
WordPress Trac
noreply at wordpress.org
Wed Aug 28 14:50:45 UTC 2024
#60892: About Page: `text-wrap: balance;`adds unintended new lines in Japaneese
-------------------------------------+---------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.6.2
Component: Help/About | Version: 6.5
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+---------------------
Comment (by wildworks):
> add balance for :lang(en)? If I understand the selector correctly, that
should catch all English locales.
This should be correct. Furthermore, what about adding `text-wrap:pretty`
for languages other than English? `text-wrap:pretty` should have no
effect on CJK languages.
{{{
.about__container :is(h1, h2, h3, h4) {
text-wrap: pretty;
}
.about__container :is(h1, h2, h3, h4):lang(en) {
text-wrap: balance;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60892#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list