dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2886b92
)
Adjust maxwidth calculation for galleries. Bug 27577
author
Leo Koppelkamm
<diebuche@users.mediawiki.org>
Mon, 2 May 2011 18:00:09 +0000
(18:00 +0000)
committer
Leo Koppelkamm
<diebuche@users.mediawiki.org>
Mon, 2 May 2011 18:00:09 +0000
(18:00 +0000)
includes/ImageGallery.php
patch
|
blob
|
history
diff --git
a/includes/ImageGallery.php
b/includes/ImageGallery.php
index
9a37202
..
3c0365f
100644
(file)
--- 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.