-
-
Notifications
You must be signed in to change notification settings - Fork 8k
fix: update leftMargin value #6715
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: update leftMargin value #6715
Conversation
🦋 Changeset detectedLatest commit: 637680d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6715 +/- ##
==========================================
+ Coverage 3.82% 3.85% +0.02%
==========================================
Files 430 455 +25
Lines 44479 44772 +293
Branches 683 707 +24
==========================================
+ Hits 1701 1725 +24
- Misses 42778 43047 +269
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
f603698
to
ab33704
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Syn3ugar! Thanks for your contribution!
It looks great to me.
I've made an update to the commit (mainly to add a changeset for the changelog).
Before merging, it looks like the author of the commit is we**** <we****@ba****.com>
(I've censored the details here, but anybody can see them in https://github.com/mermaid-js/mermaid/commit/ab3370425c6d55628e36e748b9a9724d6b625088.patch), and this email address is not associated with the @Syn3ugar GitHub account.
Is this okay? You may want to change the email or add it to your GitHub account so you get credit once it's merged.
@aloisklink I am honored that this submission has been helpful to you. I apologize for using the wrong corporate email to submit this code. To avoid any further impact, could you please help me change it to my personal email address 1029359941@qq.com Thank you again for your recognition! |
The `timeline.leftMargin` value in the docs/schema was not being correctly loaded for timeline diagrams.
ab33704
to
637680d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful!
And no worries! Many people accidentally use the wrong email when making their git commit
!
And FYI, if you do ever need to update a commit by yourself (or change the author just for one commit), you can do it like git commit --amend --author 'My Name <my-email@email.example>'
fad6676
@Syn3ugar, Thank you for the contribution! |
Hope this little tip can be used for PR next time, sincerely appreciate! |
📑 Summary
Updated the value of leftMargin.
Resolves #
📏 Design Decisions
LeftMargin should be taken from the timeline field of conf, not directly from conf.
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.