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.


git-svn-id: https://develop.svn.wordpress.org/trunk@54046 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-09-01 06:10:43 +00:00
parent 3a730ec57c
commit 08057c8cc5
2 changed files with 8 additions and 0 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;