Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#52380 closed defect (bug) (fixed)

Twenty Twenty-One: Word wrap missing in comments

Reported by: mayankmajeji Owned by: desrosj
Priority: normal Milestone: 5.7
Component: Bundled Theme Version: 5.6
Severity: normal Keywords: has-screenshots has-patch
Cc: Focuses: css

Description

I was testing with unit test data and found out that word-wrap is missing in Twenty Twenty One's long comment

Attachments (6)

twenty-twenty-one-long-comment.JPG​ (34.5 KB ) - added by mayankmajeji 6 years ago.
twenty-twenty-one-long-comment-word-wrap-missing
52380.diff​ (1.9 KB ) - added by mayankmajeji 6 years ago.
#52380 Patch
52380.1.diff​ (859 bytes ) - added by audrasjb 6 years ago.
Patch refresh
Capture d’écran 2021-01-26 à 21.10.53.png​ (75.3 KB ) - added by audrasjb 6 years ago.
Before 52380.1.diff
Capture d’écran 2021-01-26 à 21.10.34.png​ (79.4 KB ) - added by audrasjb 6 years ago.
After 52380.1.diff
52380.2.diff​ (1.2 KB ) - added by audrasjb 6 years ago.
The previous patch omitted to take RTL styles into account

Download all attachments as: .zip

Change History (13)

@mayankmajeji
6 years ago

twenty-twenty-one-long-comment-word-wrap-missing

#1 @audrasjb
6 years ago

  • Component General → Bundled Theme
  • Milestone Awaiting Review → 5.7

@audrasjb
6 years ago

Patch refresh

#2 @audrasjb
6 years ago

  • Version → 5.6

Good catch @mayankmajeji.

I refreshed your patch because it needs to be generated against wordpress-develop /src folder, and it also contained some unwanted changes.

Thanks for raising this issue!

@audrasjb
6 years ago

The previous patch omitted to take RTL styles into account

#3 @mayankmajeji
6 years ago

@audrasjb Awesome! VSCode must have added the unwanted changes. I should remove the auto-format on save. Thanks for making the changes. :)

#4 @SergeyBiryukov
6 years ago

  • Summary Word Wrap Missing → Twenty Twenty-One: Word wrap missing in comments

This ticket was mentioned in ​Slack in #core-themes by poena. ​View the logs.


6 years ago

#6 @desrosj
6 years ago

  • Owner set to desrosj
  • Status new → assigned

#7 @desrosj
6 years ago

  • Resolution → fixed
  • Status assigned → closed

In 50158:

Twenty Twenty-One: Fix wrapping for long text within comments.

This ensures that word wrapping occurs within comment content.

Props mayankmajeji, audrasjb.
Fixes #52380.

Note: See TracTickets for help on using tickets.