OrgChart icon indicating copy to clipboard operation
OrgChart copied to clipboard

Wrong line drawing when using text-center: left;

Open Schlumpf9 opened this issue 2 years ago • 1 comments

Hello, my website has per default text-align: left; enabled and so I receive the following graph: grafik

As shown the lines of the parents are not displayed correctly. This gets even more worse if the tree is bigger. Then there are also holes between sibblings. Anyone knows how this can be fixed? If i set the overall orgchart parent div to text-align: center; the lines are shown correctly. Only if i omit the centering of the elements breaks the layout.

As my tree is very big, the elements are jumping a lot if i hide or show childrens. Therefore it would be better to use the text-align: left; layout...

Schlumpf9 avatar Nov 06 '23 19:11 Schlumpf9

你的邮件我已收到,愿七色之夏的光辉永远守护你

mm05112 avatar Nov 06 '23 19:11 mm05112