Merge pull request #3179 from mempool/mononaut/center-scroll
Center-align blockchain when resetting scroll position
This commit is contained in:
		
						commit
						43e0c7e0d8
					
				@ -267,6 +267,7 @@ export class StartComponent implements OnInit, OnDestroy {
 | 
			
		||||
 | 
			
		||||
  resetScroll(): void {
 | 
			
		||||
    this.scrollToBlock(this.chainTip);
 | 
			
		||||
    this.blockchainContainer.nativeElement.scrollLeft = 0;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  getPageIndexOf(height: number): number {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user