Skip to content

High performance self-hosted photo and video management solution.

fix(web): Search chip key value heights don't match (#20312)

xCJPECKOVERx4ea4ee40afe0
diff --git a/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte
index acb7176a7c..48ead6e6b4 100644
--- a/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte
+++ b/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte
@@ -330,9 +330,9 @@
>
{#each getObjectKeys(terms) as searchKey (searchKey)}
{@const value = terms[searchKey]}
- <div class="flex place-content-center place-items-center text-xs">
+ <div class="flex place-content-center place-items-center items-stretch text-xs">
<div
- class="bg-immich-primary py-2 px-4 text-white dark:text-black dark:bg-immich-dark-primary
+ class="flex items-center justify-center bg-immich-primary py-2 px-4 text-white dark:text-black dark:bg-immich-dark-primary
{value === true ? 'rounded-full' : 'rounded-s-full'}"
>
{getHumanReadableSearchKey(searchKey as keyof SearchTerms)}