New mining dashboard graph height
This commit is contained in:
		
							parent
							
								
									fdad3d1fd5
								
							
						
					
					
						commit
						9d6231b6e5
					
				| @ -11,7 +11,7 @@ import { EventType, NavigationStart, Router } from '@angular/router'; | |||||||
|   changeDetection: ChangeDetectionStrategy.OnPush, |   changeDetection: ChangeDetectionStrategy.OnPush, | ||||||
| }) | }) | ||||||
| export class MiningDashboardComponent implements OnInit, AfterViewInit { | export class MiningDashboardComponent implements OnInit, AfterViewInit { | ||||||
|   graphHeight = 300; |   graphHeight = 375; | ||||||
| 
 | 
 | ||||||
|   constructor( |   constructor( | ||||||
|     private seoService: SeoService, |     private seoService: SeoService, | ||||||
| @ -42,7 +42,7 @@ export class MiningDashboardComponent implements OnInit, AfterViewInit { | |||||||
|   @HostListener('window:resize', ['$event']) |   @HostListener('window:resize', ['$event']) | ||||||
|   onResize(): void { |   onResize(): void { | ||||||
|     if (window.innerWidth >= 992) { |     if (window.innerWidth >= 992) { | ||||||
|       this.graphHeight = 340; |       this.graphHeight = 375; | ||||||
|     } else if (window.innerWidth >= 768) { |     } else if (window.innerWidth >= 768) { | ||||||
|       this.graphHeight = 245; |       this.graphHeight = 245; | ||||||
|     } else { |     } else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user