From 13b11a39a92db748d7c2e1028c2b9d7c7bdfbbe0 Mon Sep 17 00:00:00 2001 From: Sam Holton Date: Wed, 27 Mar 2024 15:58:38 -0400 Subject: [PATCH] feat(web) add filter when viewing all people in search box (#7997) * feat(web) add filter when viewing all people in search box * chore: svelte check * pr feedback: fix vertical spacing to eliminate jump when filter appears * pr feedback * simplify filter logic --------- Co-authored-by: Alex Tran --- .../lib/components/elements/search-bar.svelte | 2 +- .../search-bar/search-people-section.svelte | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/web/src/lib/components/elements/search-bar.svelte b/web/src/lib/components/elements/search-bar.svelte index 21d36c4a27..fb301b65fe 100644 --- a/web/src/lib/components/elements/search-bar.svelte +++ b/web/src/lib/components/elements/search-bar.svelte @@ -23,7 +23,7 @@ ? 'rounded-2xl' : 'rounded-t-lg'} bg-gray-200 p-2 dark:bg-immich-dark-gray gap-2 place-items-center h-full" > -