mirror of
https://github.com/mempool/mempool.git
synced 2025-06-29 10:09:43 +02:00
Center-align blockchain after resetting scroll
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user