mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
switched out the border-radius powered query_color_dot's with font-awesome icons to maintain IE compatibility
This commit is contained in:
parent
7f745428fe
commit
6324f9042e
@ -301,13 +301,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
kbn.query_color_dot = function (color, diameter) {
|
kbn.query_color_dot = function (color, diameter) {
|
||||||
return '<div style="' + [
|
return '<div class="icon-circle" style="' + [
|
||||||
'vertical-align:middle',
|
|
||||||
'border-radius:10px',
|
|
||||||
'display:inline-block',
|
'display:inline-block',
|
||||||
'background:' + color,
|
'color:' + color,
|
||||||
'height:' + diameter + 'px',
|
'font-size:' + diameter + 'px',
|
||||||
'width:' + diameter + 'px',
|
|
||||||
].join(';') + '"></div>';
|
].join(';') + '"></div>';
|
||||||
};
|
};
|
||||||
}).call(this);
|
}).call(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user