mirror of https://github.com/apache/nifi.git
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:
parent
3ef0fa48da
commit
c86190c513
|
@ -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.');
|
||||||
|
|
Loading…
Reference in New Issue