mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 06:47:52 +01:00
Disable mining charts iteration on mobile widgets
This commit is contained in:
parent
bc13393778
commit
05342079b3
3 changed files with 3 additions and 0 deletions
|
@ -142,6 +142,7 @@ export class HashrateChartComponent implements OnInit {
|
|||
bottom: this.widget ? 30 : 60,
|
||||
},
|
||||
tooltip: {
|
||||
show: !this.isMobile() || !this.widget,
|
||||
trigger: 'axis',
|
||||
axisPointer: {
|
||||
type: 'line'
|
||||
|
|
|
@ -132,6 +132,7 @@ export class HashrateChartPoolsComponent implements OnInit {
|
|||
top: this.widget ? 10 : 40,
|
||||
},
|
||||
tooltip: {
|
||||
show: !this.isMobile() || !this.widget,
|
||||
trigger: 'axis',
|
||||
axisPointer: {
|
||||
type: 'line'
|
||||
|
|
|
@ -139,6 +139,7 @@ export class PoolRankingComponent implements OnInit {
|
|||
edgeDistance: edgeDistance,
|
||||
},
|
||||
tooltip: {
|
||||
show: !this.isMobile() || !this.widget,
|
||||
backgroundColor: 'rgba(17, 19, 31, 1)',
|
||||
borderRadius: 4,
|
||||
shadowColor: 'rgba(0, 0, 0, 0.5)',
|
||||
|
|
Loading…
Add table
Reference in a new issue