From: Leo Koppelkamm Date: Mon, 2 May 2011 18:00:09 +0000 (+0000) Subject: Adjust maxwidth calculation for galleries. Bug 27577 X-Git-Tag: 1.31.0-rc.0~30453 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=812722b16fc3d0ed422b0a520678ab4c089a3f36;p=lhc%2Fweb%2Fwiklou.git Adjust maxwidth calculation for galleries. Bug 27577 --- diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index 9a372020a4..3c0365f84c 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -38,7 +38,8 @@ class ImageGallery */ const THUMB_PADDING = 30; const GB_PADDING = 5; - const GB_BORDERS = 6; + //2px borders on each side + 2px implied padding on each side + const GB_BORDERS = 8; /** * Create a new image gallery object.