Skip to content

Commit

Permalink
Merge pull request #437 from spenceralger/responsive-tooltip
Browse files Browse the repository at this point in the history
kbn.query_color_dot() shouldn't use border-radius
  • Loading branch information
spenceralger committed Aug 29, 2013
2 parents 493fdbc + 6324f90 commit d1495fb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d1495fb

Please sign in to comment.