[wp-trac] [WordPress Trac] #55815: Twenty-Twenty-Two: Post Format Gallery

WordPress Trac noreply at wordpress.org
Wed May 25 06:01:36 UTC 2022


#55815: Twenty-Twenty-Two: Post Format Gallery
---------------------------+-----------------------------------------
 Reporter:  mukesh27       |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:  needs-patch has-screenshots
  Focuses:  ui, css        |
---------------------------+-----------------------------------------
 Twenty-Twenty-Two does not include gallery columns classes for the
 frontend. Another default theme has this class and it working fine for
 them.


 {{{

 .gallery-columns-2 .gallery-item {
         max-width: 50%;
 }

 .gallery-columns-3 .gallery-item {
         max-width: 33.33%;
 }

 .gallery-columns-4 .gallery-item {
         max-width: 25%;
 }

 .gallery-columns-5 .gallery-item {
         max-width: 20%;
 }

 .gallery-columns-6 .gallery-item {
         max-width: 16.66%;
 }

 .gallery-columns-7 .gallery-item {
         max-width: 14.28%;
 }

 .gallery-columns-8 .gallery-item {
         max-width: 12.5%;
 }

 .gallery-columns-9 .gallery-item {
         max-width: 11.11%;
 }
 }}}

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


More information about the wp-trac mailing list