Fix dark mode device tags on mobile app.
Ylian Saint-Hilaire committed
Feb 17, 2021 at 11:40 UTC
ba56256fdc50185d66d30494e9364924b472c0bb
1 file changed
+2
-2
views/default-mobile.handlebars
+2
-2
@@ -3161,9 +3161,9 @@
3161
var groupingTags = '<i>' + "None" + '</i>';
3162
if (node.tags != null) { groupingTags = ''; for (var i in node.tags) { groupingTags += '<span style="background-color:lightgray;padding:3px;margin-right:4px;border-radius:5px">' + EscapeHtml(node.tags[i]) + '</span>'; } }
3163
if ((meshrights & 4) != 0) {
3164
- x += addDeviceAttribute("Tags", '<span onclick=showEditNodeValueDialog(3) style=cursor:pointer>' + groupingTags + '</span>');
3164
+ x += addDeviceAttribute("Tags", '<span onclick=showEditNodeValueDialog(3) style=cursor:pointer;color:black>' + groupingTags + '</span>');
3165
} else {
3166
- x += addDeviceAttribute("Tags", groupingTags);
3166
+ x += addDeviceAttribute("Tags", '<span style=color:black>' + groupingTags + '</span>');
3167
}
3168
3169
x += '</table><br />';