WordPress.org

Make WordPress Core

Ticket #48970: 48970.1.diff

File 48970.1.diff, 1.2 KB (added by audrasjb, 7 weeks ago)

Reset word-break and word-wrap properties for Twenty Twenty primary and footer navigation menus

  • src/wp-content/themes/twentytwenty/style-rtl.css

    diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css
    index 6114563e30..38bc3b9427 100644
    a b ul.primary-menu { 
    16281628        display: block;
    16291629        line-height: 1.2;
    16301630        text-decoration: none;
     1631        word-break: normal;
     1632        word-wrap: normal;
    16311633}
    16321634
    16331635.primary-menu a:hover,
    div.comment:first-of-type { 
    43354337
    43364338.footer-menu a {
    43374339        text-decoration: none;
     4340        word-break: normal;
     4341        word-wrap: normal;
    43384342}
    43394343
    43404344.footer-menu a:hover,
  • src/wp-content/themes/twentytwenty/style.css

    diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css
    index 4e887a35cd..c73f47ff10 100644
    a b ul.primary-menu { 
    16341634        display: block;
    16351635        line-height: 1.2;
    16361636        text-decoration: none;
     1637        word-break: normal;
     1638        word-wrap: normal;
    16371639}
    16381640
    16391641.primary-menu a:hover,
    div.comment:first-of-type { 
    43694371
    43704372.footer-menu a {
    43714373        text-decoration: none;
     4374        word-break: normal;
     4375        word-wrap: normal;
    43724376}
    43734377
    43744378.footer-menu a:hover,