Charts aren't correctly displayed when the fixed width CSS constraint is relaxed
yurivict opened this issue · 3 comments
yurivict commented
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:
DCH1 commented
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.
dabeng commented
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)
Paul75 commented
but in demo withs not semmes works .....