[wp-trac] [WordPress Trac] #53389: Bundled Themes: Add styling for blocks added in 5.8

WordPress Trac noreply at wordpress.org
Mon Jun 21 16:23:09 UTC 2021


#53389: Bundled Themes: Add styling for blocks added in 5.8
---------------------------------------+---------------------
 Reporter:  desrosj                    |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.8
Component:  Bundled Theme              |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+---------------------

Comment (by ryelle):

 @Joen's PR fixes the vertical margin issue in Twenty Twenty-One
 ([attachment:"scenario-1-front.png"]). I can't replicate the horizontal
 alignment in [attachment:"scenario-2-front.png"]. I'm going to move some
 other Twenty Twenty-One feedback to #53398.

 As for the blocks more generally…
 - I noticed a lot of extra spacing in the grid pattern of Query Loop. It
 looks like I can control that padding in Twenty Twenty-One, but not Twenty
 Twenty.
 - Grid & Offset patterns: It looks like each of the grid items are using
 `main` elements, but there should only be one `main` on a page.
 [https://github.com/WordPress/gutenberg/issues/31502
 gutenberg/issues#31502] would help, but these patterns should probably be
 updated to `div` regardless.
 - In the editor, the Post Template block defaults to regular width, even
 if the Query Loop block is full/wide, so it looks misaligned. On the
 frontend it works as expected, the content is shown full/wide width.

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


More information about the wp-trac mailing list