From 90a8a6adf6b055142a4575d6d5b0d1c52a13c822 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Wed, 5 Feb 2020 15:00:40 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty Menu rendering problem Unicode (Bangla). Fixes a bug where certain words break on to a second line in the primary and footer menus, in certain languages. Props smallprogrammers, Shital Patel, mukesh27, audrasjb. Fixes #48970. git-svn-id: https://develop.svn.wordpress.org/trunk@47192 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style-rtl.css | 4 ++++ src/wp-content/themes/twentytwenty/style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index 034d57b93c..ef552c21b8 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -1627,6 +1627,8 @@ ul.primary-menu { display: block; line-height: 1.2; text-decoration: none; + word-break: normal; + word-wrap: normal; } .primary-menu a:hover, @@ -4330,6 +4332,8 @@ div.comment:first-of-type { .footer-menu a { text-decoration: none; + word-break: normal; + word-wrap: normal; } .footer-menu a:hover, diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index e377dba7ea..d845fc0223 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -1633,6 +1633,8 @@ ul.primary-menu { display: block; line-height: 1.2; text-decoration: none; + word-break: normal; + word-wrap: normal; } .primary-menu a:hover, @@ -4364,6 +4366,8 @@ div.comment:first-of-type { .footer-menu a { text-decoration: none; + word-break: normal; + word-wrap: normal; } .footer-menu a:hover,