The Parsoid padding was 1px wider, which was discovered by
https://github.com/subbuss/parsoid_visual_diffs.
Change-Id: I1c63ad0daf434ebe5a234109578ddd5ddc2bc909
display: table;
overflow: auto;
text-align: center;
- padding: 3px;
border: 1px solid #ccc;
border-bottom: 0; // No border to caption
border-collapse: collapse;
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 */