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

Preview not picking up classDef default styles #41

Closed
chrowe opened this issue Apr 3, 2017 · 6 comments
Closed

Preview not picking up classDef default styles #41

chrowe opened this issue Apr 3, 2017 · 6 comments

Comments

@chrowe
Copy link

chrowe commented Apr 3, 2017

Running 3.0.0 on Atom 1.15.0

When I try

graph LR;
A
B
classDef default fill:#f9f,stroke:#333,stroke-width:4px;

in the online editor it works

When I do the same in Atom I don't see the styling applied
screen shot 2017-04-03 at 5 39 14 pm

Applying styles with specific classes works fine.

@y-takey
Copy link
Owner

y-takey commented Apr 4, 2017

Hi @chrowe,

Thanks for your report. I fixed the issue, and upgrade the package (to v3.1.0).

@chrowe
Copy link
Author

chrowe commented Apr 4, 2017

Thanks.
Looks like 55c2d34 did the trick.

I was able to check for updates in Atom, download the new version, restart Atom and it worked.

@chrowe chrowe closed this as completed Apr 4, 2017
@chrowe
Copy link
Author

chrowe commented Apr 4, 2017

screen shot 2017-04-03 at 9 25 56 pm 1

@y-takey
Copy link
Owner

y-takey commented Apr 4, 2017

Thank you for the check!

@linusnorton
Copy link

linusnorton commented Feb 1, 2018

I am having the same issue with 3.2.1 using the same example chrowe highlighted. Is there anything I can do to help debug?

Edit: to be fair it doesn't seem to work in the online editor either. Has the format changed?

@y-takey
Copy link
Owner

y-takey commented Feb 2, 2018

Hi @linusnorton , Thanks for your report :)
I think It's a mermaid's issue. mermaid-js/mermaid#582

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

3 participants