From a05073bbdd4c11d6e4f5fef3cd25425101902ce0 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 1 Sep 2022 06:12:15 +0000 Subject: [PATCH] Twenty Twenty: Improve word wrap in comments required message. Because `.comments-notes` and `.logged-in-as` paragraphs are centered in Twenty Twenty, words were wrapping poorly to the next line, and even more often with "Edit your profile" displayed as visible text (see [53796]). This changeset ensures the required message is displayed on a new line. Follow-up to [53796]. Props sabernhardt, audrasjb, mukesh27, nidhidhandhukiya. Fixes #56397. Built from https://develop.svn.wordpress.org/trunk@54046 git-svn-id: http://core.svn.wordpress.org/trunk@53605 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/style-rtl.css | 4 ++++ wp-content/themes/twentytwenty/style.css | 4 ++++ wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index 596277e3a0..0e5d365807 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -3897,6 +3897,10 @@ div.comment:first-of-type { text-align: center; } +.comment-respond .required-field-message { + display: inline-block; +} + .comment-respond p { line-height: 1.1; margin-bottom: 2rem; diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index e1b584e07f..0d38bc927d 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -3933,6 +3933,10 @@ div.comment:first-of-type { text-align: center; } +.comment-respond .required-field-message { + display: inline-block; +} + .comment-respond p { line-height: 1.1; margin-bottom: 2rem; diff --git a/wp-includes/version.php b/wp-includes/version.php index 848a52a525..cf4f9668aa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54045'; +$wp_version = '6.1-alpha-54046'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.