wikimedia/mediawiki-extensions-VisualEditor

View on GitHub
modules/ve-mw/ce/styles/nodes/ve.ce.MWBlockImageNode.less

Summary

Maintainability
Test Coverage
/*!
 * VisualEditor ContentEditable MediaWiki MWBlockImageNode styles.
 *
 * @copyright See AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

.ve-ce-mwBlockImageNode {
    /* Override paragraph margins inside of captions */
    > figcaption p {
        margin: 0 !important; /* stylelint-disable-line declaration-no-important */
    }

    /* Disable zoom link */
    > a::after {
        pointer-events: none;
    }
}