mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixed panel menu while in fullscreen mode
This commit is contained in:
parent
261e5ebbd4
commit
021c6ac1cb
@ -155,6 +155,9 @@ function (angular, $, _) {
|
|||||||
if (panelLeftPos + menuLeftPos < 0) {
|
if (panelLeftPos + menuLeftPos < 0) {
|
||||||
menuLeftPos = 0;
|
menuLeftPos = 0;
|
||||||
}
|
}
|
||||||
|
if ($scope.fullscreen) {
|
||||||
|
menuHeight = -(menuHeight/2);
|
||||||
|
}
|
||||||
|
|
||||||
$menu.css({'left': menuLeftPos, top: -menuHeight});
|
$menu.css({'left': menuLeftPos, top: -menuHeight});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user