Make all mining charts tooltips uniform

This commit is contained in:
nymkappa
2022-06-10 23:34:13 +02:00
parent bdc1bd386e
commit 08a45ea680
7 changed files with 40 additions and 39 deletions

View File

@@ -207,7 +207,7 @@ export class HashrateChartComponent implements OnInit {
const date = new Date(ticks[0].data[0]).toLocaleDateString(this.locale, { year: 'numeric', month: 'short', day: 'numeric' });
return `
<b style="color: white; margin-left: 18px">${date}</b><br>
<b style="color: white; margin-left: 2px">${date}</b><br>
<span>${hashrateString}</span><br>
<span>${difficultyString}</span>
`;