fix(web): render whitespaces in file names and paths on photos and folders pages correctly (#15266)

This commit is contained in:
Ferdinand Holzer 2025-01-12 05:10:33 +01:00 committed by GitHub
parent e7abfe3067
commit 77d4eb8787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 7 deletions

View file

@ -22,7 +22,9 @@
type="button"
>
<Icon path={icon} class="text-immich-primary dark:text-immich-dark-primary" size={64} />
<p class="text-sm dark:text-gray-200 text-nowrap text-ellipsis overflow-clip w-full">{item}</p>
<p class="text-sm dark:text-gray-200 text-nowrap text-ellipsis overflow-clip w-full whitespace-pre-wrap">
{item}
</p>
</button>
{/each}
</div>