mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the rightmost and bottom tooltip crop issues in the explain query plan. Fixes #5352
This commit is contained in:
committed by
Akshay Joshi
parent
3d516101a4
commit
7e30a99937
@@ -994,6 +994,9 @@ define('pgadmin.misc.explain', [
|
||||
toolTipX = toolTipX < 0 ? 0 : (toolTipX);
|
||||
toolTipY = toolTipY < 0 ? 0 : (toolTipY);
|
||||
|
||||
toolTipX = toolTipX > graphContainer.width()-toolTipContainer[0].clientWidth ? graphContainer.width()-(toolTipContainer[0].clientWidth*zoomFactor) : toolTipX;
|
||||
toolTipY = toolTipY > graphContainer.height()-toolTipContainer[0].clientHeight ? graphContainer.height()-(toolTipContainer[0].clientWidth*zoomFactor) : toolTipY;
|
||||
|
||||
// Show toolTip at respective x,y coordinates
|
||||
toolTipContainer.css({
|
||||
'opacity': '0.8',
|
||||
|
||||
Reference in New Issue
Block a user