extensions/VisualEditor/modules/ve-mw/ce/styles/nodes/ve.ce.MWBlockImageNode.less
raw| 1 | /*! |
| 2 | * VisualEditor ContentEditable MediaWiki MWBlockImageNode styles. |
| 3 | * |
| 4 | * @copyright See AUTHORS.txt |
| 5 | * @license The MIT License (MIT); see LICENSE.txt |
| 6 | */ |
| 7 | |
| 8 | .ve-ce-mwBlockImageNode { |
| 9 | /* Override paragraph margins inside of captions */ |
| 10 | > figcaption p { |
| 11 | margin: 0 !important; /* stylelint-disable-line declaration-no-important */ |
| 12 | } |
| 13 | |
| 14 | /* Disable zoom link */ |
| 15 | > a::after { |
| 16 | pointer-events: none; |
| 17 | } |
| 18 | } |