mw.debug: Avoid overlap between debug toolbar and OOUI dropdowns
Bug: T106095 Change-Id: Ia519205852324899430ac7a769ee7e81ed80c37f
This commit is contained in:
parent
cb297a6f48
commit
58e720dfdc
2 changed files with 10 additions and 0 deletions
|
|
@ -947,6 +947,7 @@ return [
|
|||
],
|
||||
'dependencies' => [
|
||||
'jquery.footHovzer',
|
||||
'oojs-ui-core',
|
||||
],
|
||||
],
|
||||
'mediawiki.diff.styles' => [
|
||||
|
|
|
|||
|
|
@ -4,6 +4,15 @@
|
|||
var debug,
|
||||
hovzer = $.getFootHovzer();
|
||||
|
||||
OO.ui.getViewportSpacing = function () {
|
||||
return {
|
||||
top: 0,
|
||||
right: 0,
|
||||
bottom: hovzer.$.outerHeight(),
|
||||
left: 0
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Debug toolbar.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue