diff --git a/public/styles/style.css b/public/styles/style.css index dc912e08..f5c8436b 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -3048,7 +3048,6 @@ a { .tagSpan { background-color: lightgray; padding: 3px; - margin-right: 4px; border-radius: 5px; } diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 0dab7a59..31a6d0cc 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -664,6 +664,16 @@ height: 28px; width: 28px; } + + .tagSpan { + background-color: lightgray; + padding: 3px; + border-radius: 5px; + } + + .night .tagSpan { + color: black; + } @@ -3633,7 +3643,7 @@ // Node tags var groupingTags = '' + "None" + ''; - if (node.tags != null) { groupingTags = ''; for (var i in node.tags) { groupingTags += '' + EscapeHtml(node.tags[i]) + ' '; } } + if (node.tags != null) { groupingTags = ''; for (var i in node.tags) { groupingTags += '' + EscapeHtml(node.tags[i]) + ' '; } } if ((meshrights & 4) != 0) { x += addDeviceAttribute("Tags", '' + groupingTags + ''); } else { diff --git a/views/default.handlebars b/views/default.handlebars index 2427197f..b5919666 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -4713,7 +4713,7 @@ var groupingTags = ''; if (node.tags != null) { for (var i in node.tags) { - groupingTags += '' + EscapeHtml(node.tags[i]) + ' '; + groupingTags += '' + EscapeHtml(node.tags[i]) + ' '; } } r += '' + groupingTags + ''; @@ -7399,7 +7399,7 @@ // Node tags var groupingTags = '' + "None" + ''; - if (node.tags != null) { groupingTags = ''; for (var i in node.tags) { groupingTags += '' + EscapeHtml(node.tags[i]) + ' '; } } + if (node.tags != null) { groupingTags = ''; for (var i in node.tags) { groupingTags += '' + EscapeHtml(node.tags[i]) + ' '; } } if ((meshrights & 4) != 0) { x += addDeviceAttribute("Tags", '' + groupingTags + ' '); } else {