mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
On mobile browsers 100vh is the tall viewport (URL bar retracted), so the full-height shells (h-screen + overflow-hidden) rendered their bottom strip below the visible area with no way to scroll to it. After an upload the tool page's bottom control is the "Process" peek bar, so it landed off-screen on every tool. Switch the fixed-height shells from h-screen (100vh) to h-dvh (100dvh), which tracks the visible viewport. AppLayout covers every tool page; the same sweep covers the editor, login, change-password, 404, and the error/loading screens. On desktop dvh equals vh, so desktop is unchanged. Adds a source-level guard (tests/unit/web/app-shell-viewport.test.ts) since headless Chromium has no URL bar and cannot reproduce the bug.