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

Sequence Diagram Config - messageMargin has no effect no matter the value #5702

Open
ShawnTuatara opened this issue Aug 8, 2024 · 2 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@ShawnTuatara
Copy link

Description

Setting the messageMargin has no impact on the drawing of the diagram

Steps to reproduce

https://mermaid.live/edit#pako:eNptkU1rwzAMhv9K0DktcZuv-lAY3XEdg26XkYvnqI4hsTPH6daF_PfZSbuxD4PB0vPqRZIH4LpEoNDha4-K461kwrCmUIW10tYYPGJnfeRvy4yVXLZM2YAHrAt2tUT1B7UePbjEOTigOUmOTqECd_hiu21psDPILM6SH-CpLf8Hd8hOlzyE0KBpmCxd24NXFWArbLAA6p5HbXzHEM7kOpeHw2xZuPquYwL3zAipPCFRFIW_6E0thZo9jRTV1XIyrfTb4WJ83zcvaDovPLK6Q68ZCzW6Nllv9eGsOFBregzB6F5UQCdZCP0062XfX1kspdVmP38K1-oohXNya33W-lvlYqADvANdJMkyzfNNFGVxGsdkFYdwBkryfEkSkibxepMlcZYmYwgfkwVZplmekzhZR-tslZJNOn4CJL-mXw

{
  "theme": "forest",
  "sequence": {
    "messageMargin": 10,
    "messageAlign": "right",
    "showSequenceNumbers": false
  }
}

Changing messageAlign and showSequenceNumbers works fine. Documentation says that messageMargin is available.
https://mermaid.js.org/schemas/config.schema.json

Screenshots

No response

Code Sample

No response

Setup

No response

Suggested Solutions

No response

Additional Context

No response

@ShawnTuatara ShawnTuatara added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Aug 8, 2024
@KawtharAlakri
Copy link

I will be working on this.

@KawtharAlakri
Copy link

KawtharAlakri commented Aug 26, 2024

Some help is needed to complete this as my proposed solution works perfectly for message margin but is affecting text wrapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants