Fix tooltip text alignment in mining dashboard

This commit is contained in:
nymkappa 2022-02-22 20:30:14 +09:00
parent 3f0bf81726
commit 38eb8cbcfd
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 5 additions and 1 deletions

View File

@ -145,6 +145,7 @@ export class HashrateChartComponent implements OnInit {
shadowColor: 'rgba(0, 0, 0, 0.5)',
textStyle: {
color: '#b1b1b1',
align: 'left',
},
borderColor: '#000',
formatter: function (data) {

View File

@ -176,7 +176,10 @@ export class PoolRankingComponent implements OnInit {
}
},
tooltip: {
trigger: 'item'
trigger: 'item',
textStyle: {
align: 'left',
}
},
series: [
{