Skip to content

Commit 503a703

Browse files
committed
fix: apply classDef styles correctly to divider element
on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
1 parent e9d4c11 commit 503a703

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/mermaid/src/rendering-util/rendering-elements/shapes/requirementBox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export async function requirementBox<T extends SVGGraphicsElement>(
185185
node.look !== 'handDrawn' &&
186186
(requirementEdgeLabelBackground || borderColorArray?.length)
187187
) {
188-
shapeSvg.selectAll('.outer-path path').attr('style', nodeStyles);
188+
shapeSvg.selectAll('path').attr('style', nodeStyles);
189189
}
190190

191191
return shapeSvg;

0 commit comments

Comments
 (0)