back to display:block; for galleries
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 13 Dec 2011 09:24:51 +0000 (09:24 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 13 Dec 2011 09:24:51 +0000 (09:24 +0000)
Display inline-block show weird behaviour when the gallery has text before
and after. Fomafix on cr of r93581 gave us some examples.

Reverts r93581

skins/common/shared.css

index 7ca243d..5f349cd 100644 (file)
@@ -738,16 +738,16 @@ li.gallerybox {
        display: inline-block;
 }
 
-ul.gallery {
-       margin: 2px;
-       padding: 2px;
-       display: inline-block;
-}
-
 ul.gallery,
 li.gallerybox {
        zoom: 1;
-       display: inline !ie;
+       *display: inline;
+}
+
+ul.gallery {
+       margin: 2px;
+       padding: 2px;
+       display: block;
 }
 
 li.gallerycaption {