mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
fix: scroll behavior positioning
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ const router = createRouter({
|
|||||||
from.query['view'] === undefined &&
|
from.query['view'] === undefined &&
|
||||||
!savedPosition
|
!savedPosition
|
||||||
)
|
)
|
||||||
return { el: `.app_main`, top: -15 };
|
return { el: `.scenery-left`, behavior: 'instant', top: 3 };
|
||||||
|
|
||||||
if (savedPosition) return savedPosition;
|
if (savedPosition) return savedPosition;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user