From 0a5daf67134e5f422f2568750e6b7eb0367d261a Mon Sep 17 00:00:00 2001 From: Stommer Date: Thu, 22 Oct 2026 14:14:40 +0200 Subject: [PATCH] =?UTF-8?q?Behebe=20die=20abgeschnittene=20Vorgangsansicht?= =?UTF-8?q?=20auf=20dem=20Handy:=20Der=20Rahmen=20der=20Ablage=20begrenzt?= =?UTF-8?q?=20jetzt=20die=20H=C3=B6he,=20die=20Liste=20scrollt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- frontend/src/library/library.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend/src/library/library.css b/frontend/src/library/library.css index 12f8272..ed4f5fb 100644 --- a/frontend/src/library/library.css +++ b/frontend/src/library/library.css @@ -112,7 +112,7 @@ a.button.quiet { background: var(--surface2); border: 1px solid var(--border2); .library-tree__moves button { min-height: 26px; width: 24px; padding: 0; font-size: 13px; background: transparent; color: var(--text2); border-radius: 6px; } .library-tree__moves button:hover:not(:disabled) { background: var(--accent-light); color: var(--accent-dark); } .library-tree button.library-tree__link { background: transparent; border: 0; justify-content: flex-start; text-align: left; width: 100%; } -.library__main .workspace { min-height: calc(100vh - 80px); } +.library__main .workspace { min-height: 0; } .library__main > .page, .library__main > .workspace { max-width: none; } .library-tree__list { min-width: 0; } .library-tree__section > .library-tree__row > .library-tree__root { flex: 1; } @@ -137,3 +137,16 @@ body.is-resizing .library__resizer { background: color-mix(in srgb, var(--accent .document-pages { width: 100%; } .document-pages canvas { display: block; width: 100%; margin: 0 0 8px; background: #fff; } + +/* Pages with a reader (case, matter) fill the height exactly; the lists inside scroll, not the frame. */ +.app-main:has(.workspace) > .library { height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr); } +.app-main:has(.workspace) .library__main { min-height: 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; } +.app-main:has(.workspace) .library__main > .workspace { flex: 1; min-height: 0; } +.app-main:has(.workspace) .library__tree { min-height: 0; } +@media (max-width: 900px) { + .app-main:has(.workspace) > .library { display: flex; flex-direction: column; } + .app-main:has(.workspace) .library__toggle { flex: none; margin: 4px 12px; } + .app-main:has(.workspace) .library__tree.is-open { flex: none; max-height: 45%; overflow: auto; } + .app-main:has(.workspace) .library__main { flex: 1; } +} +@media (max-width: 759px) { body.is-phone-reading .library__toggle { display: none; } }