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

HTML elements in Node name render incorrectly #76

Open
tylere opened this issue Dec 16, 2022 · 0 comments
Open

HTML elements in Node name render incorrectly #76

tylere opened this issue Dec 16, 2022 · 0 comments

Comments

@tylere
Copy link

tylere commented Dec 16, 2022

It is great that the Node widget accepts some HTML strings, which allows one to do simple text formatting (bold, italics, color) to improve readability. For example:
image

However, HTML elements that change the vertical placement of the text do not render as expected:

image

I would expect that the vertical placement of the Node icon would line up with the HTML text, and that the height of Nodes would change so that the text of Nodes would not overlap.

Notebook to reproduce: ipytree_html_bug.ipynb.txt

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

1 participant