fix: position resolved URI directly below text lines in diagram overlay
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -158,7 +158,7 @@ export function DiagramNode({
|
|||||||
{detail}
|
{detail}
|
||||||
</text>
|
</text>
|
||||||
)}
|
)}
|
||||||
<text x={TEXT_LEFT} y={h - 5} fill="#1A7F8E" fontSize={9} fontStyle="italic">
|
<text x={TEXT_LEFT} y={TOP_BAR_HEIGHT + (detail && detail !== typeName ? 35 : 24)} fill="#1A7F8E" fontSize={9} fontStyle="italic">
|
||||||
→ {resolvedUri.split('?')[0]}
|
→ {resolvedUri.split('?')[0]}
|
||||||
</text>
|
</text>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user