#5237 Fix for text alignment for handdrawn text using svg labels

This commit is contained in:
Knut Sveidqvist
2024-08-12 09:35:01 +02:00
parent 39fdaef0a4
commit 7f9d4cd079
2 changed files with 44 additions and 12 deletions

View File

@@ -59,7 +59,7 @@ const getStyles = (options: FlowChartStyleOptions) =>
stroke: ${options.nodeBorder};
stroke-width: 1px;
}
.node .label text {
.rough-node .label text , .node .label text {
text-anchor: middle;
}
// .flowchart-label .text-outer-tspan {