This commit is contained in:
Brendan Kellam 2025-12-11 19:21:26 +08:00 committed by GitHub
commit 2be9217ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 3 deletions

View file

@ -138,7 +138,7 @@ export const CodePreview = ({
}}
title={file.filepath}
>
{file.filepath}
<span>{file.filepath}</span>
</span>
</div>

View file

@ -52,7 +52,7 @@ export const Entry = ({
<div className="overflow-hidden flex-1 min-w-0">
<Tooltip>
<TooltipTrigger asChild>
<p className="overflow-hidden text-ellipsis whitespace-nowrap truncate-start">{displayName}</p>
<p className="overflow-hidden text-ellipsis whitespace-nowrap truncate-start"><span>{displayName}</span></p>
</TooltipTrigger>
<TooltipContent side="right" className="max-w-sm">
<p className="font-mono text-sm break-all whitespace-pre-wrap">{displayName}</p>

View file

@ -313,6 +313,11 @@
text-overflow: ellipsis;
}
.truncate-start > * {
direction: ltr;
unicode-bidi: embed;
}
@layer base {
* {
@apply border-border;

View file

@ -30,7 +30,7 @@ export const FileListItem = ({
pathType: 'blob',
})}
>
{path}
<span>{path}</span>
</Link>
</div>
)