FlowFuse / node-red-dashboard-2-ui-led

A simple LED status indicator for the Node-RED Dashboard 2.0
Apache License 2.0
1 stars 0 forks source link

sizable LEDs #5

Open m-schaeffler opened 8 months ago

m-schaeffler commented 8 months ago

Description

please add a parameter to change the size of the LEDs. For my taste the LEDs are a bit too big.

Have you provided an initial effort estimate for this issue?

I am no FlowFuse team member

m-schaeffler commented 8 months ago

with this CSS the LED looks fine for me:

.nrdb-ui-led-bulb {
  height: 45% !important;
}
houser42 commented 1 month ago

FWIW, the CSS code provided by @m-schaeffler currently does the job for us 95% of the time. Although I can see scenarios where individual size settings per instance for the LED would serve a purpose.