mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	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:
		
							parent
							
								
									d8a6552811
								
							
						
					
					
						commit
						4ea4ee40af
					
				@ -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)}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user