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

Parent nodes are not positioned correctly in relation with children #616

Open
MindruAndreiIulian opened this issue Apr 25, 2021 · 2 comments

Comments

@MindruAndreiIulian
Copy link

I don't understand why the parent nodes are always alligned to the left instead of the center. Is there a property I'm missing or what? I don't think there is any conflict with other css files in my app.
image

@TobbyEchonga
Copy link

TobbyEchonga commented Sep 7, 2021

I was having the same issue and i added

<style type="text/css"> #chart-container { text-align: center; } </style>

in the header and it centered

@yizongk
Copy link

yizongk commented Sep 29, 2021

I had the same problem, and your suggestion fixed for me, thanks!

I did inline instead, like:

<div id='chart-container' style="text-align: center">

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

3 participants