Merge pull request #4669 from mempool/mononaut/fix-dashboard-sizes
Fix mining/liquid dashboard widget heights
This commit is contained in:
		
						commit
						925d51f40e
					
				@ -23,7 +23,7 @@
 | 
			
		||||
    height: 325px;
 | 
			
		||||
  }
 | 
			
		||||
  @media (min-width: 992px) {
 | 
			
		||||
    height: 400px;
 | 
			
		||||
    height: 409px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,7 @@
 | 
			
		||||
    height: 345px;
 | 
			
		||||
  }
 | 
			
		||||
  @media (min-width: 992px) {
 | 
			
		||||
    height: 472px;
 | 
			
		||||
    height: 440px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -42,7 +42,7 @@ export class MiningDashboardComponent implements OnInit, AfterViewInit {
 | 
			
		||||
  @HostListener('window:resize', ['$event'])
 | 
			
		||||
  onResize(): void {
 | 
			
		||||
    if (window.innerWidth >= 992) {
 | 
			
		||||
      this.graphHeight = 375;
 | 
			
		||||
      this.graphHeight = 335;
 | 
			
		||||
    } else if (window.innerWidth >= 768) {
 | 
			
		||||
      this.graphHeight = 245;
 | 
			
		||||
    } else {
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
    height: 345px;
 | 
			
		||||
  }
 | 
			
		||||
  @media (min-width: 992px) {
 | 
			
		||||
    height: 442px;
 | 
			
		||||
    height: 439px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user