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

node labels in mermaid diagrams still misaligned on mac #5854

Closed
samuelpmish opened this issue Oct 2, 2023 · 3 comments
Closed

node labels in mermaid diagrams still misaligned on mac #5854

samuelpmish opened this issue Oct 2, 2023 · 3 comments

Comments

@samuelpmish
Copy link

follow up to #5812, which was closed prematurely, without fixing the issue.

On macs with 1.7.5, the labels are still misaligned:

270117934-58f9243e-11f0-48da-8217-866f80408cbd
@abnerlee
Copy link
Contributor

We are not able to reproduce this anymore. What is the result if you do this on https://mermaid.live/ on Safari?

@samuelpmish
Copy link
Author

using the default mermaid.live example

flowchart TD
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]

I get the following

mermaid.live:
Screenshot 2023-10-16 at 7 36 34 AM


typora version 1.7.5 (7015):
Screenshot 2023-10-16 at 7 36 14 AM


I get the same results (with vertically offset text labels) on two different macs, but things look correct on my ubuntu 22.04 machine.

@abnerlee
Copy link
Contributor

abnerlee commented Dec 7, 2023

merge into #5864

@abnerlee abnerlee closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants