Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch node icon not centered #1527

Open
A380Coding opened this issue Dec 10, 2024 · 1 comment
Open

Switch node icon not centered #1527

A380Coding opened this issue Dec 10, 2024 · 1 comment
Labels
area:frontend For any issues that require work in the frontend/UI bug Something isn't working size:XS - 1 Sizing estimation point

Comments

@A380Coding
Copy link

A380Coding commented Dec 10, 2024

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 A380Coding added bug Something isn't working needs-triage Needs looking at to decide what to do labels Dec 10, 2024
@joepavitt joepavitt added size:XS - 1 Sizing estimation point area:frontend For any issues that require work in the frontend/UI and removed needs-triage Needs looking at to decide what to do labels Dec 11, 2024
@joepavitt joepavitt moved this from Backlog to Up Next in Dashboard Backlog Dec 11, 2024
@A380Coding
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:frontend For any issues that require work in the frontend/UI bug Something isn't working size:XS - 1 Sizing estimation point
Projects
Status: Up Next
Development

No branches or pull requests

2 participants