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}
|
||||
>
|
||||
{file.filepath}
|
||||
<span>{file.filepath}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -311,6 +311,11 @@
|
|||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.truncate-start > * {
|
||||
direction: ltr;
|
||||
unicode-bidi: embed;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ export const FileListItem = ({
|
|||
pathType: 'blob',
|
||||
})}
|
||||
>
|
||||
{path}
|
||||
<span>{path}</span>
|
||||
</Link>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue