mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
Merge pull request #3719 from CalebUsadi/fix/3711_er_fill_attribute
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