Merge pull request #3115 from mempool/nymkappa/bugfix/fix-ln-label-y
Fix lightning widgets layout
This commit is contained in:
commit
7cc0622702
@ -130,7 +130,7 @@ export class NodesNetworksChartComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
text: $localize`:@@b420668a91f8ebaf6e6409c4ba87f1d45961d2bd:Lightning Nodes Per Network`,
|
text: $localize`:@@b420668a91f8ebaf6e6409c4ba87f1d45961d2bd:Lightning Nodes Per Network`,
|
||||||
left: 'center',
|
left: 'center',
|
||||||
top: 11,
|
top: 0,
|
||||||
zlevel: 10,
|
zlevel: 10,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -227,8 +227,8 @@ export class NodesNetworksChartComponent implements OnInit {
|
|||||||
title: title,
|
title: title,
|
||||||
animation: false,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
height: this.widget ? 100 : undefined,
|
height: this.widget ? 90 : undefined,
|
||||||
top: this.widget ? 10 : 40,
|
top: this.widget ? 20 : 40,
|
||||||
bottom: this.widget ? 0 : 70,
|
bottom: this.widget ? 0 : 70,
|
||||||
right: (isMobile() && this.widget) ? 35 : this.right,
|
right: (isMobile() && this.widget) ? 35 : this.right,
|
||||||
left: (isMobile() && this.widget) ? 40 :this.left,
|
left: (isMobile() && this.widget) ? 40 :this.left,
|
||||||
|
@ -121,7 +121,7 @@ export class LightningStatisticsChartComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
text: $localize`:@@ea8db27e6db64f8b940711948c001a1100e5fe9f:Lightning Network Capacity`,
|
text: $localize`:@@ea8db27e6db64f8b940711948c001a1100e5fe9f:Lightning Network Capacity`,
|
||||||
left: 'center',
|
left: 'center',
|
||||||
top: 11,
|
top: 0,
|
||||||
zlevel: 10,
|
zlevel: 10,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -137,8 +137,8 @@ export class LightningStatisticsChartComponent implements OnInit {
|
|||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
grid: {
|
grid: {
|
||||||
height: this.widget ? 100 : undefined,
|
height: this.widget ? 90 : undefined,
|
||||||
top: this.widget ? 10 : 40,
|
top: this.widget ? 20 : 40,
|
||||||
bottom: this.widget ? 0 : 70,
|
bottom: this.widget ? 0 : 70,
|
||||||
right: (isMobile() && this.widget) ? 35 : this.right,
|
right: (isMobile() && this.widget) ? 35 : this.right,
|
||||||
left: (isMobile() && this.widget) ? 40 :this.left,
|
left: (isMobile() && this.widget) ? 40 :this.left,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user