| Index: branches/wmf/1.17wmf1/skins/common/shared.css |
| — | — | @@ -781,6 +781,11 @@ |
| 782 | 782 | margin: 2px; |
| 783 | 783 | } |
| 784 | 784 | |
| | 785 | +li.gallerybox div.thumb img { |
| | 786 | + display: block; |
| | 787 | + margin: 0 auto; |
| | 788 | +} |
| | 789 | + |
| 785 | 790 | div.gallerytext { |
| 786 | 791 | overflow: hidden; |
| 787 | 792 | font-size: 94%; |
| Property changes on: branches/wmf/1.17wmf1/skins/common/shared.css |
| ___________________________________________________________________ |
| Modified: svn:mergeinfo |
| 788 | 793 | Merged /trunk/phase3/skins/common/shared.css:r91573 |
| Index: branches/wmf/1.17wmf1/includes/ImageGallery.php |
| — | — | @@ -276,8 +276,8 @@ |
| 277 | 277 | $thumbhtml = "\n\t\t\t".'<div style="height: '.(30 + $this->mHeights).'px;">' |
| 278 | 278 | . htmlspecialchars( $img->getLastError() ) . '</div>'; |
| 279 | 279 | } else { |
| 280 | | - $vpad = floor(( 30 + $this->mHeights - $thumb->height ) /2); |
| 281 | | - |
| | 280 | + $vpad = ( self::THUMB_PADDING + $this->mHeights - $thumb->height ) /2; |
| | 281 | + |
| 282 | 282 | $imageParameters = array( |
| 283 | 283 | 'desc-link' => true, |
| 284 | 284 | 'desc-query' => $descQuery |