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
This commit is contained in:
audrasjb 2022-09-01 06:12:15 +00:00
parent d6bb75e7c7
commit a05073bbdd
3 changed files with 9 additions and 1 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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.