Skip to content

Commit

Permalink
feat: Display node labels in top-left corner instead of top-right (#1016
Browse files Browse the repository at this point in the history
)
  • Loading branch information
georgefst authored Aug 3, 2023
2 parents debb33d + c47fc29 commit e0555f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TreeReactFlow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const nodeTypes = {
),
label: classNames(
"z-20 p-1 absolute rounded-full text-sm xl:text-base",
data.syntax ? "-top-4" : "-right-2 -top-4",
data.syntax ? "-top-4" : "-left-2 -top-4",
flavorLabelClasses(data.flavor)
),
contents: classNames(
Expand Down

0 comments on commit e0555f6

Please sign in to comment.