jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/367717 )

Change subject: Disable magnify icon in Parsoid output
......................................................................


Disable magnify icon in Parsoid output

Bug: T160960
Depends-On: Id66f09c54103854ccbaa54a03e7c62890b67cba9
Change-Id: I40243fa6d85263967314b2b30dd1a7cbda39234d
---
M resources/skins.minerva.content.styles/thumbnails.less
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Jdlrobson: Looks good to me, approved



diff --git a/resources/skins.minerva.content.styles/thumbnails.less 
b/resources/skins.minerva.content.styles/thumbnails.less
index 5533068..adfc8b5 100644
--- a/resources/skins.minerva.content.styles/thumbnails.less
+++ b/resources/skins.minerva.content.styles/thumbnails.less
@@ -38,7 +38,11 @@
        }
 
        // Hide the image magnification icon normally displayed in image 
captions
-       .magnify {
+       .magnify,
+       // Parsoid version of magnification icon (T160960)
+       figure[typeof*='mw:Image/Thumb'] > a:after,
+       figure[typeof*='mw:Video/Thumb'] > a:after,
+       figure[typeof*='mw:Audio/Thumb'] > a:after {
                display: none;
        }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I40243fa6d85263967314b2b30dd1a7cbda39234d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/skins/MinervaNeue
Gerrit-Branch: master
Gerrit-Owner: Esanders <esand...@wikimedia.org>
Gerrit-Reviewer: Esanders <esand...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Niedzielski <sniedziel...@wikimedia.org>
Gerrit-Reviewer: Pmiazga <pmia...@wikimedia.org>
Gerrit-Reviewer: VolkerE <volke...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to