Skip to content

Commit de90b1a

Browse files
committed
(add) Y-coordinate property on the text node which puts the text above the node
1 parent bae1383 commit de90b1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/components/AtomsRelationship.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ function Node({ node }) {
8989
fontSize={9}
9090
fontFamily="Arial"
9191
textAnchor="middle"
92+
y = "-20"
9293
style={{ pointerEvents: 'none' }}
9394
fill={isParent ? white : citrus}
9495
>

0 commit comments

Comments
 (0)