From 8519fbb48a4d91ce3de3fb2d3621974b04ce7044 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 24 Mar 2026 22:53:02 +0100 Subject: [PATCH] fix(frontend): lock document page to viewport with position: fixed The global layout wraps pages in min-h-screen + main.py-6, which pushed the h-screen document container below the sticky nav and caused page-level scrolling. Switching to fixed inset-0 z-50 fully escapes the layout flow: - DocumentTopBar always visible (no scrolling it away) - PDF controls always visible - Only the PDF canvas area scrolls - DocumentBottomPanel moved inside the fixed container (logically grouped) Co-Authored-By: Claude Sonnet 4.6 --- .../src/routes/documents/[id]/+page.svelte | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend/src/routes/documents/[id]/+page.svelte b/frontend/src/routes/documents/[id]/+page.svelte index a16e7c13..b866dc0f 100644 --- a/frontend/src/routes/documents/[id]/+page.svelte +++ b/frontend/src/routes/documents/[id]/+page.svelte @@ -126,7 +126,7 @@ $effect(() => { {doc.title || doc.originalFilename || 'Dokument'} -
+
{ }} />
-
- + +