mirror of
https://github.com/immich-app/immich.git
synced 2025-11-23 23:00:42 +09:00
fix(web): render whitespaces in file names and paths on photos and folders pages correctly (#15266)
This commit is contained in:
@@ -52,9 +52,12 @@
|
||||
>
|
||||
<Icon path={mdiChevronRight} class="text-gray-500 dark:text-gray-300" size={16} ariaHidden />
|
||||
{#if isLastSegment}
|
||||
<p class="cursor-default">{segment}</p>
|
||||
<p class="cursor-default whitespace-pre-wrap">{segment}</p>
|
||||
{:else}
|
||||
<a class="underline hover:font-semibold" href={getLink(pathSegments.slice(0, index + 1).join('/'))}>
|
||||
<a
|
||||
class="underline hover:font-semibold whitespace-pre-wrap"
|
||||
href={getLink(pathSegments.slice(0, index + 1).join('/'))}
|
||||
>
|
||||
{segment}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user