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

Center-align blockchain when resetting scroll position
This commit is contained in:
softsimon 2023-03-01 09:16:57 +04:00 committed by GitHub
commit 8caa8692c5

View File

@ -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 {