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

The svg didn't stop to expanded #2

Closed
taciomedeiros opened this issue May 21, 2017 · 2 comments
Closed

The svg didn't stop to expanded #2

taciomedeiros opened this issue May 21, 2017 · 2 comments

Comments

@taciomedeiros
Copy link

taciomedeiros commented May 21, 2017

i use this configs, and make one div that limits the max-height, but the problem continues. Could you help me?
<d3tree :data="animal.genealogia" :type="tree" :layout-type="euclidean" :duration="5" :margin-y="150" :zoomable="false"> </d3tree>

@taciomedeiros
Copy link
Author

I see on the example that you put a class on d3tree object with max-height thanks

@David-Desmaisons
Copy link
Owner

@taciomedeiros , by design the component will take all available space respecting the margin value.
This means that you need to specify in the HTML whether max-height or heigth and wether max-width or width.

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