diff --git a/src/lib/components/layouts/DocumentBrowser.svelte b/src/lib/components/layouts/DocumentBrowser.svelte index a1d0102a0..eb43fc887 100644 --- a/src/lib/components/layouts/DocumentBrowser.svelte +++ b/src/lib/components/layouts/DocumentBrowser.svelte @@ -78,10 +78,11 @@ search: "common.search", }; - let width: number; + let headerToolbarWidth: number; + let footerToolbarWidth: number; $: BREAKPOINTS = { - HIDE_COUNT: width < remToPx(26), + HIDE_COUNT: footerToolbarWidth < remToPx(26), }; $: searchResults = documents.then((r) => excludeDeleted($deleted, r.data)); @@ -151,17 +152,16 @@ {/if} - +
- - - {@html $_("search.help")} - - {$_("search.more")} - - - + +

+ {@html $_("search.help")} + + {$_("search.more")} + +

@@ -203,7 +203,7 @@ {/await} {#if !embed} -
+