fix(): fixed minor issue with single stat tooltip, #7357
This commit is contained in:
@@ -156,7 +156,7 @@ module.directive('grafanaPanel', function($rootScope) {
|
||||
content: function() {
|
||||
return ctrl.getInfoContent({mode: 'tooltip'});
|
||||
},
|
||||
position: 'right middle',
|
||||
position: 'top center',
|
||||
classes: ctrl.error ? 'drop-error' : 'drop-help',
|
||||
openOn: 'hover',
|
||||
hoverOpenDelay: 100,
|
||||
|
||||
@@ -566,7 +566,7 @@ class SingleStatCtrl extends MetricsPanelCtrl {
|
||||
if (!linkInfo) { return;}
|
||||
|
||||
drilldownTooltip.text('click to go to: ' + linkInfo.title);
|
||||
drilldownTooltip.place_tt(e.pageX+20, e.pageY-15);
|
||||
drilldownTooltip.place_tt(e.pageX, e.pageY-50);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user