Follow-up I96d2225: Adding white background color to framed images in Parsoid
authorEd Sanders <esanders@wikimedia.org>
Thu, 23 Feb 2017 13:08:30 +0000 (13:08 +0000)
committerEd Sanders <esanders@wikimedia.org>
Thu, 23 Feb 2017 13:08:30 +0000 (13:08 +0000)
Bug: T154077
Change-Id: Ie6fd4f5b995f79d6c48ff95f091c88b9c67f13e8

resources/src/mediawiki.skinning/content.parsoid.less

index 346771f..8f58d67 100644 (file)
@@ -128,6 +128,7 @@ figure[typeof~='mw:Image/Frame'] > *:first-child > img,
 .mw-image-border > *:first-child > img {
        border: 1px solid #ccc;
        margin: 3px;
+       background: #fff;
 }
 
 /* Hide the caption for frameless and plain floated images */