Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7018
new.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 11:12 PM
2014-11-21 23:12:52 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
new.txt
View Options
Index: skins/common/shared.css
===================================================================
--- skins/common/shared.css (revision 79861)
+++ skins/common/shared.css (working copy)
@@ -824,7 +824,9 @@
border: 1px solid #ccc;
margin: 2px;
}
-
+li.gallerybox div.thumb a.image img{
+ vertical-align: text-top;
+}
div.gallerytext {
overflow: hidden;
font-size: 94%;
Index: includes/ImageGallery.php
===================================================================
--- includes/ImageGallery.php (revision 79861)
+++ includes/ImageGallery.php (working copy)
@@ -286,14 +286,13 @@
$imageParameters['alt'] = $nt->getText();
}
- # Set both fixed width and height. Otherwise we might have problems
- # with the vertical centering of images where height<line-size
+ # Set both fixed width and min-height.
$thumbhtml = "\n\t\t\t".
- '<div class="thumb" style="width: ' .($this->mWidths+30).'px; height: ' .($this->mHeights+30).'px;">'
+ '<div class="thumb" style="width: ' .($this->mWidths+30).'px; min-height: ' .($this->mHeights+30).'px;">'
# Auto-margin centering for block-level elements. Needed now that we have video
# handlers since they may emit block-level elements as opposed to simple <img> tags.
# ref http://css-discuss.incutio.com/?page=CenteringBlockElement
- . '<div style="margin:'.$vpad.'px auto;">'
+ . '<div style="margin:'.$vpad.'px auto 0;">'
. $thumb->toHtml( $imageParameters ) . '</div></div>';
// Call parser transform hook
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6555
Default Alt Text
new.txt (1 KB)
Attached To
Mode
T29338: Gallery in 1.17 breaks for audio/video + ogghandler
Attached
Detach File
Event Timeline
Log In to Comment