From 56300b6756a12bd1cead59c8ed2446e9732b44a2 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 2 Jul 2014 13:53:45 -0700 Subject: [PATCH] Align image frame padding with core The Parsoid padding was 1px wider, which was discovered by https://github.com/subbuss/parsoid_visual_diffs. Change-Id: I1c63ad0daf434ebe5a234109578ddd5ddc2bc909 --- resources/src/mediawiki.skinning/content.parsoid.less | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/src/mediawiki.skinning/content.parsoid.less b/resources/src/mediawiki.skinning/content.parsoid.less index ebd6b9248d..6a35182abc 100644 --- a/resources/src/mediawiki.skinning/content.parsoid.less +++ b/resources/src/mediawiki.skinning/content.parsoid.less @@ -99,7 +99,6 @@ figure[typeof~='mw:Image/Frame'] { display: table; overflow: auto; text-align: center; - padding: 3px; border: 1px solid #ccc; border-bottom: 0; // No border to caption border-collapse: collapse; @@ -115,7 +114,7 @@ figure[typeof~='mw:Image/Thumb'] > *:first-child > img, figure[typeof~='mw:Image/Frame'] > *:first-child > img, .mw-image-border > *:first-child > img { border: 1px solid #cccccc; - margin: 4px; + margin: 3px; } /* Hide the caption for frameless and plain floated images */ -- 2.20.1