From 39ae6c20e078939f739dbfa1c5a9eb5a291ddfd2 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Wed, 20 Nov 2024 16:13:49 -0500 Subject: [PATCH 1/4] Fix viewer search and consolidate search routing, too --- src/lib/components/forms/Search.svelte | 44 ++++++++++++++++--- src/lib/components/viewer/PDFPage.svelte | 9 ++-- .../components/viewer/ReadingToolbar.svelte | 1 - .../viewer/stories/PDFPage.stories.svelte | 5 ++- .../(app)/documents/[id]-[slug]/+page.svelte | 3 +- src/routes/(app)/projects/+page.svelte | 24 ---------- 6 files changed, 49 insertions(+), 37 deletions(-) diff --git a/src/lib/components/forms/Search.svelte b/src/lib/components/forms/Search.svelte index 4d35fcfdc..46b493b24 100644 --- a/src/lib/components/forms/Search.svelte +++ b/src/lib/components/forms/Search.svelte @@ -1,9 +1,13 @@ -
- + +