Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Round nodes cannot be styled with CSS classes #443

Closed
mowijo opened this issue Dec 22, 2016 · 4 comments
Closed

Round nodes cannot be styled with CSS classes #443

mowijo opened this issue Dec 22, 2016 · 4 comments

Comments

@mowijo
Copy link

mowijo commented Dec 22, 2016

Trying to style a round node with css class fails. Rectangular and rounded nodes works just fine.

graph LR;
    A --> B(B)
    B --> C((C))
    classDef yellow fill:#ff0;
    class A,B,C yellow;

does not render A, B and C yellow. Only A and B are filled with yellow:
image

If this is intentional, I apologize.

@bfriedz
Copy link
Contributor

bfriedz commented Jan 6, 2017

I just made a quick PR to fix this: #449

@knsv
Copy link
Collaborator

knsv commented Jan 9, 2017

Ok, just merged that PR!

@knsv knsv closed this as completed Jan 9, 2017
@mowijo
Copy link
Author

mowijo commented Jan 9, 2017

That is great!

Thanks for the swift response and I really appreciate the work you do!

@miclay
Copy link

miclay commented Jul 7, 2017

But it`s still not work here:
https://knsv.github.io/mermaid/live_editor/

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…yarn/develop/lint-staged-11.2.3

chore(deps-dev): bump lint-staged from 11.2.0 to 11.2.3
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants