mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +02:00
#989 Added font styling classes to diagrams lacking then
This commit is contained in:
@@ -110,6 +110,7 @@ export const draw = (txt, id, ver) => {
|
||||
return 'translate(' + arcGenerator.centroid(d) + ')';
|
||||
})
|
||||
.style('text-anchor', 'middle')
|
||||
.attr('class', 'slice')
|
||||
.style('font-size', 17);
|
||||
|
||||
svg
|
||||
|
Reference in New Issue
Block a user