Hi guys, I am trying to customize the dashboard notification a bit with css. I'm trying to pass a custom class with msg.className. This works great when using the notifications that don't have OK/Cancel options, I can see the class name in the browser developer tools. However once I try passing the msg.className to an OK/Cancel notification I can't see the classname in the dev tools and so my custom css for that class does not work.
Has anyone been able to set the class for the OK/Cancel notifications?
BTW I am using node-red version 2.0.5 currently.
Here is a simple flow that passes the className to the notification node.
[{"id":"9133062da144d593","type":"ui_toast","z":"ccfccf27b2401ad0","position":"dialog","displayTime":"200","highlight":"","sendall":true,"outputs":1,"ok":"OK","cancel":"","raw":false,"className":"","topic":"","name":"","x":750,"y":320,"wires":[[]]},{"id":"4a8ff3aceed24b4a","type":"inject","z":"ccfccf27b2401ad0","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":360,"y":320,"wires":[["139bf308cf4a273d"]]},{"id":"139bf308cf4a273d","type":"change","z":"ccfccf27b2401ad0","name":"","rules":[{"t":"set","p":"className","pt":"msg","to":"my-custom-nofication","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":320,"wires":[["9133062da144d593"]]}]