mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-02-01 17:47:09 +00:00
In html tooltip sample padding is read from the options (#8971)
This commit is contained in:
parent
b319f2cfef
commit
87ce198ac8
@ -106,7 +106,7 @@ const externalTooltipHandler = (context) => {
|
||||
tooltipEl.style.left = positionX + tooltip.caretX + 'px';
|
||||
tooltipEl.style.top = positionY + tooltip.caretY + 'px';
|
||||
tooltipEl.style.font = tooltip.options.bodyFont.string;
|
||||
tooltipEl.style.padding = tooltip.padding + 'px ' + tooltip.padding + 'px';
|
||||
tooltipEl.style.padding = tooltip.options.padding + 'px ' + tooltip.options.padding + 'px';
|
||||
};
|
||||
// </block:external>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user