Prtksxna has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/182058

Change subject: Re-position #mwe-popups-svg out of the view port
......................................................................

Re-position #mwe-popups-svg out of the view port

This <div> had been sitting visible at the bottom of the page
and went unnoticed till it caused problems with the ContentTranslation
extension.

Hiding it using 'display: none;' causes issues with the masking
of the images, thus putting the div out of the view port.

Bug: T76718
Change-Id: I731128c827aa093e0ffab52dc378aea386b0bb3c
---
M resources/ext.popups.core.less
1 file changed, 5 insertions(+), 0 deletions(-)


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

diff --git a/resources/ext.popups.core.less b/resources/ext.popups.core.less
index a8de706..bb625f4 100644
--- a/resources/ext.popups.core.less
+++ b/resources/ext.popups.core.less
@@ -4,6 +4,11 @@
  * https://en.wikipedia.org/wiki/User:Yair_rand/NavPopupsRestyled.js
  */
 
+#mwe-popups-svg {
+       position: absolute;
+       top: -1000px;
+}
+
 .mwe-popups-border-triangle-top(@size, @left, @color, @extra) {
        content: '';
        position: absolute;

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

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

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

Reply via email to