mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Forgot this from Minor cosmetic fixes commit
7c0b088996ff4c40cb91c6151638fcc468fefc43
This commit is contained in:
parent
50752f6dd6
commit
d9a577f7b2
@ -201,10 +201,11 @@ beestat.component.chart.tooltip_positioner = function(
|
||||
*
|
||||
* @param {string} title The tooltip title.
|
||||
* @param {array} sections Data inside the tooltip.
|
||||
* @param {number} first_column_min_width Minimum width of the first column.
|
||||
*
|
||||
* @return {string} The tooltip HTML.
|
||||
*/
|
||||
beestat.component.chart.tooltip_formatter = function(title, sections) {
|
||||
beestat.component.chart.tooltip_formatter = function(title, sections, first_column_min_width) {
|
||||
var tooltip = $.createElement('div')
|
||||
.style({
|
||||
'background-color': beestat.style.color.bluegray.dark,
|
||||
@ -236,7 +237,7 @@ beestat.component.chart.tooltip_formatter = function(title, sections) {
|
||||
|
||||
var td_label = $.createElement('td')
|
||||
.style({
|
||||
'min-width': '115px',
|
||||
'min-width': (first_column_min_width || 115) + 'px',
|
||||
'font-weight': beestat.style.font_weight.bold
|
||||
})
|
||||
.innerText(item.label);
|
||||
|
Loading…
x
Reference in New Issue
Block a user