node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

Switch node icon not centered

Open A380Coding opened this issue 1 year ago • 1 comments

Current Behavior

Using switch node with only icon, the icon is not centered:

image

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

A380Coding avatar Dec 10 '24 16:12 A380Coding

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

image

A380Coding avatar Dec 19 '24 13:12 A380Coding