Fix buggy blockchain scroll on resize

This commit is contained in:
natsoni 2024-07-22 13:36:36 +02:00
parent 8116b50d50
commit a7be59df3e
No known key found for this signature in database
GPG key ID: C65917583181743B

View file

@ -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();
}