Phuedx has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/341365 )

Change subject: renderer: Ensure images don't overflow container
......................................................................

renderer: Ensure images don't overflow container

Unlike modern browsers, IE9-11 (at least) don't hide the overflowing
parts of an SVG image element. Make this explicit by adding the
overflow: hidden property to the preview's container element.

Bug: T156800
Bug: T139297
Change-Id: I19e67ae4584d90c02dc5a2dd1c8bdb5773cd2283
---
M resources/ext.popups/styles/ext.popups.core.less
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Popups 
refs/changes/65/341365/1

diff --git a/resources/ext.popups/styles/ext.popups.core.less 
b/resources/ext.popups/styles/ext.popups.core.less
index 4541f65..c8a76ef 100644
--- a/resources/ext.popups/styles/ext.popups.core.less
+++ b/resources/ext.popups/styles/ext.popups.core.less
@@ -91,6 +91,7 @@
                padding-top: 9px;
                color: #000;
                text-decoration: none;
+               overflow: hidden;
 
                footer {
                        padding: 16px;

-- 
To view, visit https://gerrit.wikimedia.org/r/341365
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I19e67ae4584d90c02dc5a2dd1c8bdb5773cd2283
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Popups
Gerrit-Branch: master
Gerrit-Owner: Phuedx <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to