mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 14:50:52 +01:00
Center-align blockchain after resetting scroll
This commit is contained in:
parent
ec7f0d1143
commit
af2e3cb42a
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue