NIFI-4027: - Fixing the positioning of the tooltips in the component toolbar.

This closes #1893

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
This commit is contained in:
Matt Gilman 2017-06-06 17:29:24 -04:00 committed by Scott Aslan
parent 3ef0fa48da
commit c86190c513
1 changed files with 9 additions and 1 deletions

View File

@ -389,7 +389,15 @@
}).fail(nfErrorHandler.handleAjaxError); }).fail(nfErrorHandler.handleAjaxError);
//initialize toolbox components tooltips //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 { } else {
$('#message-title').text('Unsupported Browser'); $('#message-title').text('Unsupported Browser');
$('#message-content').text('Flow graphs are shown using SVG. Please use a browser that supports rendering SVG.'); $('#message-content').text('Flow graphs are shown using SVG. Please use a browser that supports rendering SVG.');