Update the way captions show up in packed-overlay and packed-hover
authorPrateek Saxena <prtksxna@gmail.com>
Mon, 20 Jun 2016 15:57:35 +0000 (21:27 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Sun, 26 Jun 2016 11:12:43 +0000 (16:42 +0530)
commitf95f5e91c7ba720d71603177182ddf932eca6027
tree18dd0c685c846bcc07e3452d2e2881c52a1c0fb9
parent6ffa5db058c49d3a523a20822b795c9d7774d60c
Update the way captions show up in packed-overlay and packed-hover

Instead of taking up the entire height of the thumbnail, this now
shows only the first line of the caption with ellipsis. The rest
of the caption can be seen by hovering over it.

This lets you click the image thumbnail, even when the caption is
too long, and also looks much neater in a gallery of lots of images
and long captions.

Bug: T93393
Change-Id: I6688e9574d72b2ea6acee729ecc1cb2f331cd0f8
resources/src/mediawiki/page/gallery.css