mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less
Ed Sanders 9f5944af9e ve.ui.MWTargetWidget: Remove top margin in Vector 2022
Change-Id: I3d079a9e1b44821180c849c2c018a2314b2e089e
2022-08-11 14:27:53 +01:00

19 lines
650 B
Plaintext

/*!
* 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;
}