From ce02c1bf39ed6313c359db5408d40ba27dfac294 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 27 Mar 2026 16:36:15 +0100 Subject: [PATCH] fix(#100): hide action button labels on mobile to prevent toolbar overflow At 320px, showing "Annotieren" + "Bearbeiten" + download pushed the toolbar past its bounds. Icon-only at mobile, labels revealed at sm:. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/components/DocumentTopBar.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/DocumentTopBar.svelte b/frontend/src/lib/components/DocumentTopBar.svelte index 6205e2ff..c0c7da65 100644 --- a/frontend/src/lib/components/DocumentTopBar.svelte +++ b/frontend/src/lib/components/DocumentTopBar.svelte @@ -58,7 +58,7 @@ const compactMeta = $derived.by(() => {
@@ -111,13 +111,16 @@ const compactMeta = $derived.by(() => { aria-hidden="true" class="h-4 w-4 {annotateMode ? 'invert' : ''}" /> - {annotateMode ? m.doc_panel_annotate_stop() : m.doc_panel_annotate()} + {/if} {#if canWrite} { aria-hidden="true" class="h-4 w-4" /> - {m.btn_edit()} + {/if}