mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less

19 lines
650 B
Plaintext
Raw Normal View History

/*!
* VisualEditor MediaWiki Vector-specific MWTargetWidget styles.
*
* @copyright 2011-2022 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/* stylelint-disable-next-line selector-class-pattern */
.ve-ui-mwTargetWidget .ve-ui-surface.vector-body {
// Suppress the stacking context usually established by .vector-body (T314230).
// We wouldn't need to do this if the context menus and inspectors were appended to an overlay (T266521).
z-index: auto;
}
.ve-ui-mwTargetWidget > .ve-init-target > .mw-body-content {
// Remove top margin used by Vector 2022 in main content
margin-top: 0;
}