This is based on Issue https://github.com/knsv/mermaid/issues/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.
This is based on Issue https://github.com/knsv/mermaid/issues/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 inflowchart.scss
. This PR importsdefault/index.scss
so that the tooltip will appear as expected.