Merge "Fix caption-side for tables inside figcaptions"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 17 Jan 2016 20:06:49 +0000 (20:06 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 17 Jan 2016 20:06:49 +0000 (20:06 +0000)
resources/src/mediawiki.skinning/content.parsoid.less

index a6515d2..66b3fb2 100644 (file)
@@ -100,6 +100,11 @@ figure[typeof*='mw:Image'] {
                /* taken from .thumbcaption, plus .thumbinner */
                padding: 1px 5px 5px;
                background-color: #f9f9f9;
+
+               table {
+                       /* reset caption side for tables inside figcaptions */
+                       caption-side: top;
+               }
        }
 }