frontend-collective / frontend-collective/react-sortable-tree

Can we get an example of using a custom css and updating a variety of properties of the tree?

Open
#449 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

I have a custom css and using it to modify the node .. but is quite painful and I had to look at many 'issues' here to find how to do it.. as it has changed over time.

Would be nice to have a story that shows this:
1) customize node height and width, background etc
2) add and remove drag handle
3) Adjust padding between nodes and have the lines adjust accordingly
4) etc.

just some basic stuff.. but using css and not inline styles which seem to behave differently

In the image I attach can see I can't figure how to change the 'content' background of the node.. .just can't find the property.

I also want to shrink the padding between each child so they are closer together (compacted tree) and have the lines adjust accordingly.. just not easy to figure how to do that.

Can someone post a more complete example?

screen shot 2019-01-06 at 10 42 56 am

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.