Revert "Gallery: Use intrinsic width for gallery to center caption"
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 2 Nov 2016 11:52:24 +0000 (11:52 +0000)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 2 Nov 2016 11:52:24 +0000 (11:52 +0000)
Resulted in unforeseen changes to galleries using mode=packed
(and other modes other than traditional).

This reverts commit e6dd624baeca16efe462e3938969a72c9ef4ed1e.

Bug: T149412
Change-Id: I57dabbd3b5c0e52f3fad1b2144764bcc2fdecda0

resources/src/mediawiki/page/gallery.css

index e834e28..3c80bbb 100644 (file)
@@ -17,9 +17,6 @@ ul.gallery {
        margin: 2px;
        padding: 2px;
        display: block;
-       width: -moz-fit-content;
-       width: -webkit-fit-content;
-       width: fit-content;
 }
 
 li.gallerycaption {