Follow up to r77411. Patch by DieBuche
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 5 Dec 2010 22:41:06 +0000 (22:41 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 5 Dec 2010 22:41:06 +0000 (22:41 +0000)
commitbb84043024456a910badcd43cc604c80be7bff94
tree6242b1fd3e66e31602fed0ca9743f02e879216ef
parente1710ca7804597bced2a71e449b698c82b4a4eb3
Follow up to r77411. Patch by DieBuche

1. Adds a line css to actually fix Bug 3770 (Sorry, I had forgotten to paste it
there as well)
2. Fixes a problem, where the box size would be slighty higher if the image
thumb has a height of less than 8px
3. Normalize the calculation of the vertical padding to be exactly the same one
as the horizontal padding. (This is only relevant for unusually large
galleries, eg. previously it returned a not-exactly-square box if you specified
500px as both width and height)
includes/ImageGallery.php
skins/common/shared.css