Make WordPress Core

Ticket #60892: patch.diff

File patch.diff, 445 bytes (added by wildworks, 5 weeks ago)

This patch applies text-wrap:pretty to heading elements, and text-wrap:balance to heading elements in English locale only.

  • src/wp-admin/css/about.css

    diff --git src/wp-admin/css/about.css src/wp-admin/css/about.css
    index 1db712dc0c..79f0254ad3 100644
     
    407407.about__container h2,
    408408.about__container h3,
    409409.about__container h4 {
    410         text-wrap: balance;
     410        text-wrap: pretty;
    411411        color: inherit;
    412412}
    413413
     414.about__container :is(h1, h2, h3, h4):lang(en) {
     415        text-wrap: balance;
     416}
     417
    414418.about__container p {
    415419        text-wrap: pretty;
    416420}