How to change background color for selected node?
rohitkrishna094 opened this issue · comments
rohitkrishna094 commented
Let's say I click on some node, I want to highlight it in blue color or something as a visual cue for the user that they have selected this node. How do I add my own custom css for such a feature?
rohitkrishna094 commented
I was able to do this using
.rct-node-clickable {
cursor: pointer;
&:focus {
background: #3399ff;
}
}
For reference on sass file, check this: #294