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

Flowchart labels appear "cutoff" #628

Closed
gregglind opened this issue Feb 23, 2018 · 2 comments
Closed

Flowchart labels appear "cutoff" #628

gregglind opened this issue Feb 23, 2018 · 2 comments

Comments

@gregglind
Copy link

Example:

http://docs-origin.telemetry.mozilla.org/concepts/data_pipeline.html

<g transform="translate(-24.808334350585938,-11.900001525878906)" class="label"><foreignObject width="49.616668701171875" height="23.800003051757812">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel">parquet</span>
</div>
</foreignObject>
</g>

Here, the foreignObject 'witdh' is too small, and it cuts off the label.

@gregglind
Copy link
Author

(Apparently it was the 'fontsettings' plugin to blame: "-fontsettings" in book.json fixes it.

@tylerlong
Copy link
Collaborator

We have rewritten the CSS part with mermaid 8.0.

Feel free to report a new issue if you can reproduce this issue with the new version.

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.17 to 3.0.18.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.0.17...v3.0.18)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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