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

Imported mermaid's default theme scss into index.js to display tooltip #31

Merged
merged 1 commit into from
Nov 17, 2019

Conversation

tarnelope
Copy link

This is based on Issue mermaid-js/mermaid#682
If this is the correct way to get tooltip to appear, I will update the docs to recommend importing the scss and also clarify how one can define their own callback function.

Currently the tooltip display at the bottom of the page even if it's out of the visible window. The issue seems to be that .mermaidTooltip is not picking up the styling defined in flowchart.scss. This PR imports default/index.scss so that the tooltip will appear as expected.

mermaid-tooltip

- To display tooltip on hover, otherwise tooltip appears at the bottom of the page.
@knsv knsv merged commit d5fafe0 into mermaidjs:master Nov 17, 2019
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

Successfully merging this pull request may close these issues.

2 participants