[wp-trac] [WordPress Trac] #56537: Twenty Nineteen: The latest posts block has alignment issue

WordPress Trac noreply at wordpress.org
Tue May 14 09:39:17 UTC 2024


#56537: Twenty Nineteen: The latest posts block has alignment issue
-------------------------------------------------+-------------------------
 Reporter:  smit08                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-testing-info     |     Focuses:
  has-patch close 2nd-opinion                    |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-screenshots has-testing-info has-patch => has-screenshots
     has-testing-info has-patch close 2nd-opinion


Comment:

 **Not** centering the text of the Latest Posts block may have been
 intentional.
 [https://github.com/WordPress/twentynineteen/commit/6d5fc969ea571b2b01e2d47eec749ce4847ffe54
 PR 684] created a separate ruleset for Categories and Archives blocks,
 though adding an `.aligncenter` rule for all three blocks would have been
 easier.

 A comment on the related issue
 [https://github.com/WordPress/twentynineteen/issues/644#issuecomment-440019877
 discouraged centering text]:
 > I think the block itself should be centered, not the individual lines.
 Centered text is difficult to read, and it destroys the hierarchy of the
 list structure.

 If that change is worth making on the front end, then the editor styles
 fix for the Latest Posts block could be combined with the Archives and
 Categories List blocks (like in PR 6549, instead of the patch on #61186).

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


More information about the wp-trac mailing list