Merge "Gallery: Use intrinsic width for gallery to center caption"
[lhc/web/wiklou.git] / resources / src / mediawiki / page / gallery.css
index 474d541..2ff75d2 100644 (file)
@@ -17,6 +17,9 @@ ul.gallery {
        margin: 2px;
        padding: 2px;
        display: block;
+       width: -moz-fit-content;
+       width: -webkit-fit-content;
+       width: fit-content;
 }
 
 li.gallerycaption {