Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong line drawing when using text-center: left; #724

Open
Schlumpf9 opened this issue Nov 6, 2023 · 1 comment
Open

Wrong line drawing when using text-center: left; #724

Schlumpf9 opened this issue Nov 6, 2023 · 1 comment

Comments

@Schlumpf9
Copy link

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...

@mm05112
Copy link

mm05112 commented Nov 6, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants