fix(mobile): scroll #main-app instead of body on mobile

body/html have overflow:hidden so scrollTop is a no-op on them.
#main-app is the actual scroll container; use overflow-y:auto on
mobile and target it directly in scrollToNote and the scroll listener.
This commit is contained in:
Julien Calixte
2026-04-23 18:01:30 +02:00
parent ded770aff1
commit 63bc3f4d5d
2 changed files with 15 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ const { isATProtoReady } = useATProtoLogin()
@media screen and (max-width: 768px) {
#main-app {
overflow: visible;
overflow-y: auto;
}
}