#32414 closed enhancement (worksforme)
Why width:33% for gallery-item ?
| Reported by: | Stagger Lee | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Gallery | Version: | 4.2.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Is there any specific reason for that ?
Why not 33.333% ?
On almost all themes difference between left-right "margin" is visible with naked eye. With 33.333, or more % is not visible at all.
Want just to hear is it some explanation for this.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.