This commit is contained in:
bkellam 2025-08-19 11:13:30 -07:00
parent b36de3412d
commit 7341a49407
4 changed files with 8 additions and 3 deletions

View file

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

View file

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

View file

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

View file

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