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

Fix styling of flowchart nodes with links when class definitions are assigned #1214

Conversation

GDFaber
Copy link
Member

@GDFaber GDFaber commented Jan 19, 2020

📑 Summary

Bugfix: Class definition is not applied to flowchart nodes with links.

Resolves #1212

📏 Design Decisions

Assigned classes to the anchor item as well to keep its contents styled according to class definitions. Modified tests in dist/index.html and cypress integration by applying a classDef to nodes with and without links.

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added unit/e2e tests (if appropriate)
  • 🔖 targeted develop branch

Copy link
Collaborator

@knsv knsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(y)

@knsv knsv merged commit e0d98b2 into mermaid-js:develop Jan 22, 2020
@GDFaber GDFaber deleted the bug/1212_apply_classDef_to_flowchart_nodes_with_links branch January 22, 2020 17:03
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

Successfully merging this pull request may close these issues.

Class definition is not applied to flowchart nodes with links
2 participants