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