mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-04 11:34:23 +01:00
Change fill attribute to style.
This commit is contained in:
@@ -357,7 +357,7 @@ const drawEntities = function (svgNode, entities, graph) {
|
|||||||
const rectNode = groupNode
|
const rectNode = groupNode
|
||||||
.insert('rect', '#' + textId)
|
.insert('rect', '#' + textId)
|
||||||
.attr('class', 'er entityBox')
|
.attr('class', 'er entityBox')
|
||||||
.attr('fill', conf.fill)
|
.style('fill', conf.fill)
|
||||||
.attr('fill-opacity', '100%')
|
.attr('fill-opacity', '100%')
|
||||||
.attr('stroke', conf.stroke)
|
.attr('stroke', conf.stroke)
|
||||||
.attr('x', 0)
|
.attr('x', 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user