Skip to content

Commit 08057c8

Browse files
committed
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
1 parent 3a730ec commit 08057c8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3897,6 +3897,10 @@ div.comment:first-of-type {
38973897
text-align: center;
38983898
}
38993899

3900+
.comment-respond .required-field-message {
3901+
display: inline-block;
3902+
}
3903+
39003904
.comment-respond p {
39013905
line-height: 1.1;
39023906
margin-bottom: 2rem;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3933,6 +3933,10 @@ div.comment:first-of-type {
39333933
text-align: center;
39343934
}
39353935

3936+
.comment-respond .required-field-message {
3937+
display: inline-block;
3938+
}
3939+
39363940
.comment-respond p {
39373941
line-height: 1.1;
39383942
margin-bottom: 2rem;

0 commit comments

Comments
 (0)