fix(web): show the full path in file link tooltips (#7741)
Co-authored-by: John William Creighton (s243a) <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
1 file changed
+3
-1
@@ -1323,8 +1323,10 @@ const MarkdownFileLink = memo(function MarkdownFileLink({
|
||||
side="top"
|
||||
className="max-w-[min(40rem,calc(100vw-2rem))] font-mono text-[11px] leading-tight"
|
||||
>
|
||||
{/* The full path: the chip already shows the shortened form, and a link
|
||||
to the workspace root collapses to a bare label that repeats it. */}
|
||||
<div className="overflow-x-auto whitespace-nowrap [scrollbar-color:color-mix(in_srgb,var(--border)_78%,transparent)_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-[color-mix(in_srgb,var(--border)_78%,transparent)] [&::-webkit-scrollbar-track]:bg-transparent">
|
||||
{displayPath}
|
||||
{targetPath}
|
||||
</div>
|
||||
</TooltipPopup>
|
||||
</Tooltip>
|
||||
|
||||
Reference in new issue
Block a user