renderer: Ensure settings cog visible in IE9-11

Following on from I19e67ae4, IE9-11's treatment of SVG elements that
overflow their containers means that the truncating pseudo-element and
the settings cog is occluded in a portrait-mode preview.

"Pad" the extract horizontally using a margin to force the SVG element
into the correct position.

Bug: T156800
Bug: T139297
Change-Id: I0da6af6d4cbcc69c6465b37714856e59199ae6e4
This commit is contained in:
Sam Smith 2017-03-06 18:46:36 +00:00
parent 57f3d4865e
commit 0cf00b04fa

View file

@ -109,8 +109,13 @@
}
.mwe-popups-extract {
margin: 0;
padding: 16px;
// T156800, T139297: "Pad" the extract horizontally using a margin so the
// SVG element is forced not to occlude the truncating pseudo-element and
// the settings cog in IE9-11.
padding: 16px 0;
margin: 0 16px;
display: block;
color: #000;
text-decoration: none;