mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 09:14:26 +01:00
Disable mining charts iteration on mobile widgets
This commit is contained in:
parent
bc13393778
commit
05342079b3
@ -142,6 +142,7 @@ export class HashrateChartComponent implements OnInit {
|
|||||||
bottom: this.widget ? 30 : 60,
|
bottom: this.widget ? 30 : 60,
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
|
show: !this.isMobile() || !this.widget,
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
axisPointer: {
|
axisPointer: {
|
||||||
type: 'line'
|
type: 'line'
|
||||||
|
@ -132,6 +132,7 @@ export class HashrateChartPoolsComponent implements OnInit {
|
|||||||
top: this.widget ? 10 : 40,
|
top: this.widget ? 10 : 40,
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
|
show: !this.isMobile() || !this.widget,
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
axisPointer: {
|
axisPointer: {
|
||||||
type: 'line'
|
type: 'line'
|
||||||
|
@ -139,6 +139,7 @@ export class PoolRankingComponent implements OnInit {
|
|||||||
edgeDistance: edgeDistance,
|
edgeDistance: edgeDistance,
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
|
show: !this.isMobile() || !this.widget,
|
||||||
backgroundColor: 'rgba(17, 19, 31, 1)',
|
backgroundColor: 'rgba(17, 19, 31, 1)',
|
||||||
borderRadius: 4,
|
borderRadius: 4,
|
||||||
shadowColor: 'rgba(0, 0, 0, 0.5)',
|
shadowColor: 'rgba(0, 0, 0, 0.5)',
|
||||||
|
Loading…
Reference in New Issue
Block a user