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

- add flex items-stretch to stretch chip key height to match value height
This commit is contained in:
xCJPECKOVERx 2025-07-30 08:31:16 -04:00 committed by GitHub
parent d8a6552811
commit 4ea4ee40af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)}