mirror of
https://github.com/immich-app/immich.git
synced 2025-11-27 07:10:00 +09:00
fix(web): render whitespaces in file names and paths on photos and folders pages correctly (#15266)
This commit is contained in:
@@ -364,7 +364,7 @@
|
||||
<div><Icon path={mdiImageOutline} size="24" /></div>
|
||||
|
||||
<div>
|
||||
<p class="break-all flex place-items-center gap-2">
|
||||
<p class="break-all flex place-items-center gap-2 whitespace-pre-wrap">
|
||||
{asset.originalFileName}
|
||||
{#if isOwner}
|
||||
<CircleIconButton
|
||||
@@ -381,7 +381,7 @@
|
||||
class="text-xs opacity-50 break-all pb-2 hover:dark:text-immich-dark-primary hover:text-immich-primary"
|
||||
transition:slide={{ duration: 250 }}
|
||||
>
|
||||
<a href={getAssetFolderHref(asset)} title={$t('go_to_folder')}>
|
||||
<a href={getAssetFolderHref(asset)} title={$t('go_to_folder')} class="whitespace-pre-wrap">
|
||||
{asset.originalPath}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user