From 43c7b8b02425422ac8e2e4fd022c0a422f7ca4cf Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 7 May 2025 22:32:39 +0200 Subject: [PATCH] fix: scroll behavior positioning --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.ts b/src/router/index.ts index 90de42b..56aa21d 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -72,7 +72,7 @@ const router = createRouter({ from.query['view'] === undefined && !savedPosition ) - return { el: `.app_main`, top: -15 }; + return { el: `.scenery-left`, behavior: 'instant', top: 3 }; if (savedPosition) return savedPosition; },