Repository: nifi Updated Branches: refs/heads/master 3ef0fa48d -> c86190c51
NIFI-4027: - Fixing the positioning of the tooltips in the component toolbar. This closes #1893 Signed-off-by: Scott Aslan <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/c86190c5 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/c86190c5 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/c86190c5 Branch: refs/heads/master Commit: c86190c513ae567d1ceef263b61781efaaf58c45 Parents: 3ef0fa4 Author: Matt Gilman <[email protected]> Authored: Tue Jun 6 17:29:24 2017 -0400 Committer: Scott Aslan <[email protected]> Committed: Tue Jun 6 17:35:43 2017 -0400 ---------------------------------------------------------------------- .../src/main/webapp/js/nf/canvas/nf-canvas-bootstrap.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/c86190c5/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas-bootstrap.js ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas-bootstrap.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas-bootstrap.js index b6ec75f..cef0b49 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas-bootstrap.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas-bootstrap.js @@ -389,7 +389,15 @@ }).fail(nfErrorHandler.handleAjaxError); //initialize toolbox components tooltips - $('.component-button').qtip($.extend({}, nfCommon.config.tooltipConfig)); + $('.component-button').qtip($.extend({}, nfCommon.config.tooltipConfig, { + position: { + at: 'bottom center', + my: 'top center', + adjust: { + y: 5 + } + } + })); } else { $('#message-title').text('Unsupported Browser'); $('#message-content').text('Flow graphs are shown using SVG. Please use a browser that supports rendering SVG.');
