react-diagrams icon indicating copy to clipboard operation
react-diagrams copied to clipboard

How can I add a "selected border"

Open mathiasbaldissera opened this issue 7 years ago • 2 comments

I created a custom node widget base on the diamond node, but, when it's selected, don't have a border to show that, like the default nodes. How can I add that border?

mathiasbaldissera avatar Jul 18 '19 08:07 mathiasbaldissera

@mathiasbaldissera You can add border property within ".srd-node--selected>*" in the css.

pmehta18 avatar Jul 18 '19 09:07 pmehta18

Ok, thx

mathiasbaldissera avatar Jul 18 '19 16:07 mathiasbaldissera