From e49b5628d8bcbb05da40451af5a6578059fafa79 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 2 May 2018 11:57:33 +0100 Subject: [PATCH] MWBlockImage: Make zoom link unclickable As it sticks out beyond the focus shield we need to disable it manually. Change-Id: I92baf24e6bb9294e46821311805ca0bb77f892a6 --- modules/ve-mw/ce/styles/nodes/ve.ce.MWBlockImageNode.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ve-mw/ce/styles/nodes/ve.ce.MWBlockImageNode.css b/modules/ve-mw/ce/styles/nodes/ve.ce.MWBlockImageNode.css index d491c68ea6..f9afa1c782 100644 --- a/modules/ve-mw/ce/styles/nodes/ve.ce.MWBlockImageNode.css +++ b/modules/ve-mw/ce/styles/nodes/ve.ce.MWBlockImageNode.css @@ -9,3 +9,8 @@ .ve-ce-mwBlockImageNode > figcaption p { margin: 0 !important; /* stylelint-disable-line declaration-no-important */ } + +/* Disable zoom link */ +.ve-ce-mwBlockImageNode > a:after { + pointer-events: none; +}