node-red-dashboard
node-red-dashboard copied to clipboard
Switch node icon not centered
Current Behavior
Using switch node with only icon, the icon is not centered:
Expected Behavior
Icon centered when using switch node only with icon (example switch is 1x1, but should have a centered option for any size)
Steps To Reproduce
Switch node with icon 1x1. Might need shade or border to see if background white it is difficult to see
Environment
- Dashboard version: 1.12
- Node-RED version: 4.0.5
- Node.js version:
- npm version:
- Platform/OS: Win10
- Browser: Firefox
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Additional information. If you change row size in theming it seems to gets worse or a bit more obvious since the switch gets more rectangular. At least it looks like to me