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

#1271 Fix autonumber positioning in sequence diagrams with multiline texts #1335

Merged
merged 1 commit into from
Apr 11, 2020
Merged

#1271 Fix autonumber positioning in sequence diagrams with multiline texts #1335

merged 1 commit into from
Apr 11, 2020

Conversation

GDFaber
Copy link
Member

@GDFaber GDFaber commented Apr 4, 2020

📑 Summary

Set sequence numbers on the correct position if the corresponding text has line breaks.

Resolves #1271

📏 Design Decisions

Added totalOffset to the number text's y position. Added integration test.

📋 Tasks

Make sure you

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

@knsv knsv merged commit a4a1984 into mermaid-js:develop Apr 11, 2020
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.

sequencenumber is not displayed with the text has a <br> tag
3 participants