Open yurivict opened 1 year ago
Hi @yurivict , I had similar problem and I think I managed to solve it.
I did not comment out the width, instead I replaced it with this: width:100%; min-width:130px;
. After this I added flex-grow:2;
in .orgchart .hierarchy.
Hi @yurivict @DCH1 I have created new 30 demo on gh-pages for you -- nodes of different widths(https://dabeng.github.io/OrgChart/nodes-of-different-widths.html)
but in demo withs not semmes works .....
Sometimes data has different width and having fixed width is impractical.
When this line is commented out charts aren't shown correctly when there is only one child:
Another example is: