In galleries with mode="packed" the last image in the gallery is unexpectedly downscaled under certain conditions.
Steps to reproduce:
- Go to https://de.wikipedia.org/wiki/Benutzer:Wickie37/Test3
- Resize your browser window to a width of about 600px
Expected result: The three identical images should be sized equally
Actual result: The last image is smaller than the others
See also https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#Bug_in_%3Cgallery_mode=%22packed%22%3E?
Edit: It seems that not only the last image is effected, but the last row. I updated the test case, so that this effect is visible with two images in the last row (with window width of 1230px).