mediawiki-skins-Vector/skinStyles/ooui.less
Bartosz Dziewoński 3cae30c131 Tweak OOUI dialog compatibility styles for better compatibility
Move 'z-index' to the nested .oo-ui-dialog element. Previously
it had no effect, because .oo-ui-windowManager is not positioned.

This makes the styles closer to how they were before change
I174a1c125e4ee451ec9b203654f6eff2d335bb5d. Although bug T351003
doesn't currently affect Vector, this is just by luck and future
changes to 'z-index' rules in the skin could cause a similar issue.

Bug: T351003
Change-Id: I80d8c796ec413824c523e0000c869ce61d120e2e
2023-11-18 17:12:05 +00:00

11 lines
227 B
Plaintext

@import 'mediawiki.skin.variables.less';
// For compatibility with code older than #mw-teleport-target (T350544)
body > .oo-ui-windowManager {
font-size: @font-size-base;
> .oo-ui-dialog {
z-index: @z-index-overlay;
}
}