From 0147da6e03e6d12213da4927849c82a500e26a04 Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Mon, 25 May 2026 21:28:45 +0200 Subject: [PATCH] fix: fixed width independent of the viewport --- src/styles/editor.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/styles/editor.css b/src/styles/editor.css index bc0af72..670ff0e 100644 --- a/src/styles/editor.css +++ b/src/styles/editor.css @@ -1,16 +1,13 @@ .editor { flex: 1; - display: flex; - justify-content: center; padding: 2rem 1rem 3rem; /* extra bottom padding clears the fixed status bar */ - overflow-y: auto; + overflow: auto; } /* Fixed A4 paper container (794px = 210mm at 96dpi) */ .paper { width: 794px; - max-width: calc(100vw - 2rem); - flex-shrink: 0; + margin: 0 auto; } .paper .tiptap {