Merge pull request #3179 from mempool/mononaut/center-scroll

Center-align blockchain when resetting scroll position
This commit is contained in:
softsimon authored and GitHub committed 2023-03-01 09:16:57 +04:00
commit 43e0c7e0d8
1 file changed
+1
@@ -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 {