[wp-trac] [WordPress Trac] #32414: Why width:33% for gallery-item ?

WordPress Trac noreply at wordpress.org
Fri May 15 17:15:06 UTC 2015


#32414: Why width:33% for gallery-item ?
-------------------------+-------------------------
 Reporter:  Stagger Lee  |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Gallery      |     Version:  4.2.2
 Severity:  normal       |  Resolution:  worksforme
 Keywords:               |     Focuses:
-------------------------+-------------------------
Changes (by obenland):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 When galleries became part of core in [6659] it was hardcoded to 33%. In
 [7516] it was changed to be dynamic to allow for more or less columns than
 3.

 So the reason for 33% vs 33.333% is that probably no one cared enough
 about it to change it. Unless a theme's content-width is really wide (say
 >600px) it's probably not something that is too obvious anyway.

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


More information about the wp-trac mailing list