Center-align blockchain after resetting scroll

This commit is contained in:
Mononaut 2023-02-28 21:36:16 -06:00
parent ec7f0d1143
commit af2e3cb42a
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

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 {