diff --git a/modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less b/modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less index 12311a2cfe..24c4645e90 100644 --- a/modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less +++ b/modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less @@ -11,3 +11,8 @@ // 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; +}