From: Ed Sanders Date: Thu, 23 Feb 2017 13:08:30 +0000 (+0000) Subject: Follow-up I96d2225: Adding white background color to framed images in Parsoid X-Git-Tag: 1.31.0-rc.0~4009^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=13bb746e9469e267017789b014378f4ea9351301;p=lhc%2Fweb%2Fwiklou.git Follow-up I96d2225: Adding white background color to framed images in Parsoid Bug: T154077 Change-Id: Ie6fd4f5b995f79d6c48ff95f091c88b9c67f13e8 --- diff --git a/resources/src/mediawiki.skinning/content.parsoid.less b/resources/src/mediawiki.skinning/content.parsoid.less index 346771f3f5..8f58d673bf 100644 --- a/resources/src/mediawiki.skinning/content.parsoid.less +++ b/resources/src/mediawiki.skinning/content.parsoid.less @@ -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 */