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

'cutting off' styling issue with our MermaidJS diagrams in LR view #1027

Closed
quetzalliwrites opened this issue Oct 18, 2022 · 10 comments
Closed
Assignees
Labels

Comments

@quetzalliwrites
Copy link
Member

Describe the bug

In some instances on the /website, words inside elements in MermaidJS diagrams get cut off in LR view.

How to Reproduce

You could reproduce this issue is both blog posts or docs content.

One example of this can be seen in PR #992.

Screen Shot 2022-09-29 at 1 48 00 PM

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Feb 16, 2023
@sambhavgupta0705
Copy link
Member

has this issue been resolved as I don't see any error here

@github-actions github-actions bot removed the stale label May 14, 2023
@AnishKacham
Copy link
Contributor

has this issue been resolved as I don't see any error here

Nope. I think it still persists. And as mentioned not only int the LR mode but also the TD mode of mermaid
image

@sambhavgupta0705
Copy link
Member

@AnishKacham if it still exists then you many try to resolve it

@AnishKacham
Copy link
Contributor

will look into it

@AnishKacham
Copy link
Contributor

So, the text gets cut off when you directly open the page or reload the page. Suppose you navigate from the sidebar to a certain page that contains mermaid diagrams this won't be reproduced unless you reload the page again.
I've seen a few mermaid issues that mention truncation of text.

When I looked into the rendered html page. Mermaid wad attaching an ID of "#mermaid-0", changing it to "#mermaid-1" seems to fix this on the static page.

@NightFury742
Copy link

@alequetzalli I was trying to fix this, but I couldn't understand how the mermaid.js markdown files are rendered on the website. I would be glad to fix this issue if @AnishKacham isn't working on this already.

Copy link
Member Author

We def still need help with this one! Thank you for reaching out.

@AnishKacham, can you sync with @NightFury742 over Slack? @NightFury742 you should join the AsyncAPI slack channel and share your questions directly with Animesh 😃

@NightFury742
Copy link

Sure @alequetzalli , thanks!

@sambhavgupta0705
Copy link
Member

closing this as mermaidjs is rendering correctly asyncapi.com/docs/concepts/application

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

No branches or pull requests

6 participants