mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
Merge 7341a49407 into c3fae1aaab
This commit is contained in:
commit
dc6bb954ef
4 changed files with 8 additions and 3 deletions
|
|
@ -221,7 +221,7 @@ export const CodePreview = ({
|
||||||
}}
|
}}
|
||||||
title={file.filepath}
|
title={file.filepath}
|
||||||
>
|
>
|
||||||
{file.filepath}
|
<span>{file.filepath}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ export const FileListItem = ({
|
||||||
pathType: 'blob',
|
pathType: 'blob',
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{path}
|
<span>{path}</span>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue