ve.ui.MWTargetWidget: Suppress the stacking context established by .vector-body

Bug: T314230
Change-Id: I742f0435f279689dbdac8e811a8aeab00cc9086b
This commit is contained in:
Bartosz Dziewoński 2022-08-11 01:47:19 +02:00
parent 484dcffaab
commit d36d467a82
2 changed files with 21 additions and 0 deletions

View file

@ -1698,6 +1698,14 @@
"default": [
"modules/ve-mw/themes/wikimediaui.css"
],
"vector": [
"modules/ve-mw/themes/wikimediaui.css",
"modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less"
],
"vector-2022": [
"modules/ve-mw/themes/wikimediaui.css",
"modules/ve-mw/ui/styles/tools/ve.ui.MWTargetWidget-vector.less"
],
"monobook": [
"modules/ve-mw/themes/apex.css"
]

View file

@ -0,0 +1,13 @@
/*!
* 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;
}