Fix caption-side for tables inside figcaptions
authorEd Sanders <esanders@wikimedia.org>
Sun, 17 Jan 2016 17:23:42 +0000 (17:23 +0000)
committerEd Sanders <esanders@wikimedia.org>
Sun, 17 Jan 2016 17:23:42 +0000 (17:23 +0000)
Bug: T75435
Change-Id: I7626f55872dc70cdb793352386d4a7d93b02b829

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;
+               }
        }
 }