mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-17 15:29:25 +02:00
Merge branch 'develop' into treemap-diagram-to-use-the-new-class-based-approach
This commit is contained in:
5
.changeset/tangy-ghosts-watch.md
Normal file
5
.changeset/tangy-ghosts-watch.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'mermaid': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: adjust sequence diagram title positioning to prevent overlap with top border in Safari
|
2
.github/workflows/autofix.yml
vendored
2
.github/workflows/autofix.yml
vendored
@@ -42,4 +42,4 @@ jobs:
|
|||||||
working-directory: ./packages/mermaid
|
working-directory: ./packages/mermaid
|
||||||
run: pnpm run docs:build
|
run: pnpm run docs:build
|
||||||
|
|
||||||
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef # main
|
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # main
|
||||||
|
@@ -524,7 +524,7 @@ export const drawBox = function (elem, box, conf) {
|
|||||||
box.name,
|
box.name,
|
||||||
g,
|
g,
|
||||||
box.x,
|
box.x,
|
||||||
box.y + (box.textMaxHeight || 0) / 2,
|
box.y + conf.boxTextMargin + (box.textMaxHeight || 0) / 2,
|
||||||
box.width,
|
box.width,
|
||||||
0,
|
0,
|
||||||
{ class: 'text' },
|
{ class: 'text' },
|
||||||
|
Reference in New Issue
Block a user