[wp-trac] [WordPress Trac] #62185: Twenty Twenty-One: archive page headings do not wrap long words

WordPress Trac noreply at wordpress.org
Wed Oct 9 11:01:32 UTC 2024


#62185: Twenty Twenty-One: archive page headings do not wrap long words
---------------------------+-----------------------------
 Reporter:  trushaamin     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  ui, css
---------------------------+-----------------------------

Comment (by veryard):

 Replying to [comment:3 sabernhardt]:
 > Twenty Twenty-One uses `overflow-wrap: break-word` for post/page
 headings with the `.entry-title` class ([https://github.com/WordPress
 /wordpress-develop/blob/4883bd95f02c96f9923e1067111d4d1bb5302aab/src/wp-
 content/themes/twentytwentyone/assets/sass/06-components/entry.scss#L7
 entry.scss]).
 >
 > For archive pages such as search results, the heading has a `.page-
 title` class. That class probably should have the same `overflow-wrap`
 rule ([https://github.com/WordPress/wordpress-
 develop/blob/4883bd95f02c96f9923e1067111d4d1bb5302aab/src/wp-
 content/themes/twentytwentyone/assets/sass/06-components/archives.scss#L1-L3
 archives.scss]).
 >
 > Note: Patches for Twenty Twenty-One need to update the SCSS file(s), and
 then CSS files are compiled from them.

 Thanks for pointing this out, must have been a late night when I made that
 change! I have gone ahead and updated the commit and included the change
 in the appropriate scss file.

 Thanks!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62185#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list