mirror of
https://github.com/mempool/mempool.git
synced 2025-03-13 03:24:28 +01:00
Fix buggy blockchain scroll on resize
This commit is contained in:
parent
8116b50d50
commit
a7be59df3e
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ export class StartComponent implements OnInit, AfterViewChecked, OnDestroy {
|
|||
this.minScrollWidth = 40 + (8 * this.blockWidth) + (this.pageWidth * 2);
|
||||
|
||||
if (firstVisibleBlock != null) {
|
||||
this.scrollToBlock(firstVisibleBlock, offset);
|
||||
this.scrollToBlock(firstVisibleBlock, offset + (this.isMobile ? this.blockWidth : 0));
|
||||
} else {
|
||||
this.updatePages();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue