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:
hsiegeln
2026-03-30 16:35:28 +02:00
parent 77e87504d6
commit 15b8c09e17

View File

@@ -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>
</> </>