fix(web): prevent text wrapping for some languages (#11009)

This commit is contained in:
Michel Heusschen 2024-07-10 22:19:06 +02:00 committed by GitHub
parent 0ee2390c7f
commit 8dd1d95913
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View file

@ -20,13 +20,11 @@
{#if $savedSearchTerms.length > 0}
<div class="flex items-center justify-between px-5 pt-5 text-xs">
<p>{$t('recent_searches').toUpperCase()}</p>
<div class="flex w-18 items-center justify-center">
<button
type="button"
class="rounded-lg p-2 font-semibold text-immich-primary hover:bg-immich-primary/25 dark:text-immich-dark-primary"
on:click={() => dispatch('clearAllSearchTerms')}>{$t('clear_all')}</button
>
</div>
<button
type="button"
class="rounded-lg p-2 font-semibold text-immich-primary hover:bg-immich-primary/25 dark:text-immich-dark-primary"
on:click={() => dispatch('clearAllSearchTerms')}>{$t('clear_all')}</button
>
</div>
{/if}