Skip to content

Commit d6966a5

Browse files
authored
Merge branch 'staging' into fix-create-path
2 parents 39779fc + 9987792 commit d6966a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/code-graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export function CodeGraph({
382382
chartNode.select()
383383
chartNode.style({ display: "element" })
384384
setIsSelectedObj(String(n.id))
385-
const layout = { ...LAYOUT, padding: 250 }
385+
const layout = { ...LAYOUT, padding: chart.width() / 5 }
386386
chartNode.layout(layout).run()
387387
setSearchNode(n)
388388
}

0 commit comments

Comments
 (0)