From 550b3cf019f5bb7e4d4b6939ca62cd5c58eb326d Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Mon, 4 May 2026 18:58:04 +0200 Subject: [PATCH] fix(layout): remove mobile body scroll to keep one scroll container Both html/body and #main-app being scrollable on mobile made scrollIntoView animate two ancestors at once, shifting the start frame of the smooth scroll. With body locked, #main-app is the only scroller and the animation matches the user's actual position. --- src/styles/app.css | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/styles/app.css b/src/styles/app.css index 2552ee1..9f4528a 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -62,13 +62,6 @@ body { scroll-behavior: smooth; } -@media screen and (max-width: 768px) { - html, - body { - overflow-y: auto; - } -} - .columns { margin-left: 0; margin-right: 0;