Center-align blockchain after resetting scroll

This commit is contained in:
Mononaut
2023-02-28 21:36:16 -06:00
parent ec7f0d1143
commit af2e3cb42a

View File

@@ -267,6 +267,7 @@ export class StartComponent implements OnInit, OnDestroy {
resetScroll(): void { resetScroll(): void {
this.scrollToBlock(this.chainTip); this.scrollToBlock(this.chainTip);
this.blockchainContainer.nativeElement.scrollLeft = 0;
} }
getPageIndexOf(height: number): number { getPageIndexOf(height: number): number {