[wp-trac] [WordPress Trac] #65277: Gutenberg Gallery Flex Styles Missing

WordPress Trac noreply at wordpress.org
Thu Jun 4 22:33:16 UTC 2026


#65277: Gutenberg Gallery Flex Styles Missing
-------------------------------+------------------------------
 Reporter:  carbondigitalus    |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  6.9.4
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:  ui, css
-------------------------------+------------------------------

Comment (by jamesbregenzer):

 I tested this on current trunk and was not able to reproduce the reported
 issue.

 Environment:
 - WordPress 7.1-alpha-62161-src
 - Local wp-env/Docker environment
 - Firefox

 Steps tested:
 1. Created a new post.
 2. Added a Gallery block with multiple images.
 3. Set the Gallery block alignment to center.
 4. Published the post and inspected the frontend markup/styles.

 Result:
 The outer gallery element included `wp-block-gallery`, `aligncenter`, and
 `has-nested-images`, and the browser identified it as a flex container.
 The gallery appeared centered as expected.

 I did not see the missing `display: flex` behavior described in the
 ticket.

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


More information about the wp-trac mailing list