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

How to support Arabic text wrapping in Treemap #101

Closed
mrashad2017 opened this issue Nov 28, 2017 · 0 comments
Closed

How to support Arabic text wrapping in Treemap #101

mrashad2017 opened this issue Nov 28, 2017 · 0 comments

Comments

@mrashad2017
Copy link

When add Arabic text in Treemap like using "index.html" in the following link :
https://bl.ocks.org/mbostock/b4c0f143db88a9eb01a315a1063c1d77
We get the following:
image
Which there is an issue in wrapping Arabic text.
After some investigation we can remove "white-space" from .node-labe to be as following :
.node-label {
padding: 4px;
line-height: 1em;
}
The text will be as following:
image

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