ottopaulsen / MMM-MQTT

MQTT Client module for MagicMirror2
MIT License
57 stars 29 forks source link

Data right justification when no suffix #76

Open chimeranzl opened 3 months ago

chimeranzl commented 3 months ago

Hey, formatting would look nicer when, if the suffix is set to nothing, then right justify the text. OR is there another way of doing that?

NVM, managed to work it out. Added an entry after line 255 to MMM-MQTT.js

if (sub.suffix === "" ) { valueWrapper.setAttribute('colspan', '2', 0); }