[wp-trac] [WordPress Trac] #61202: Gallery Block Columns Broken

WordPress Trac noreply at wordpress.org
Sun May 12 16:26:30 UTC 2024


#61202: Gallery Block Columns Broken
--------------------------+-----------------------------
 Reporter:  miqrogroove   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When creating a 2-column gallery in the block editor, the preview HTML
 looks like this:

 {{{
 <figure class="wp-block-gallery has-nested-images columns-2 is-cropped wp-
 block-gallery-1 is-layout-flex">
 }}}

 And unfortunately, the Twenty Fifteen stylesheets have no mention of
 {{{columns-2}}} nor {{{is-layout-flex}}}.

 I looked in {{{twentytwentyone/style.css}}} and couldn't find those class
 names listed there either.

 Clearly, this can't work.  Am I looking in the right place for the
 implementation?

 One of the search results that came up dicussed implementing {{{is-layout-
 flex}}} which seems like a bad experience and non-implementation.
 https://wordpress.org/support/topic/gallery-not-displayed-in-columns/

 First tested on v6.2.5 with a child theme of Twenty Fifteen v3.7.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61202>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list