Merge pull request #437 from spenceralger/responsive-tooltip

kbn.query_color_dot() shouldn't use border-radius
This commit is contained in:
spenceralger 2013-08-28 17:46:45 -07:00
commit d1495fbf6e

View File

@ -301,13 +301,10 @@
};
kbn.query_color_dot = function (color, diameter) {
return '<div style="' + [
'vertical-align:middle',
'border-radius:10px',
return '<div class="icon-circle" style="' + [
'display:inline-block',
'background:' + color,
'height:' + diameter + 'px',
'width:' + diameter + 'px',
'color:' + color,
'font-size:' + diameter + 'px',
].join(';') + '"></div>';
};
}).call(this);