From a7be59df3e6e71cc1287abe20de3139e2bc468f3 Mon Sep 17 00:00:00 2001 From: natsoni Date: Mon, 22 Jul 2024 13:36:36 +0200 Subject: [PATCH] Fix buggy blockchain scroll on resize --- frontend/src/app/components/start/start.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/start/start.component.ts b/frontend/src/app/components/start/start.component.ts index 0a4943bde..78c31cde5 100644 --- a/frontend/src/app/components/start/start.component.ts +++ b/frontend/src/app/components/start/start.component.ts @@ -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(); }