diff --git a/lib/legend.js b/lib/legend.js index e6058dc..bee87c3 100644 --- a/lib/legend.js +++ b/lib/legend.js @@ -11,7 +11,7 @@ define(function () { spanNew.setAttribute("class", "legend-new") var symbolNew = document.createElement("span") symbolNew.setAttribute("class", "symbol") - var textNew = document.createTextNode(" Neuer Knoten.") + var textNew = document.createTextNode(" Neuer Knoten") spanNew.appendChild(symbolNew) spanNew.appendChild(textNew) p.appendChild(spanNew) @@ -20,7 +20,7 @@ define(function () { spanOnline.setAttribute("class", "legend-online") var symbolOnline = document.createElement("span") symbolOnline.setAttribute("class", "symbol") - var textOnline = document.createTextNode(" Knoten ist online.") + var textOnline = document.createTextNode(" Knoten ist online") spanOnline.appendChild(symbolOnline) spanOnline.appendChild(textOnline) p.appendChild(spanOnline) @@ -29,7 +29,7 @@ define(function () { spanOffline.setAttribute("class", "legend-offline") var symbolOffline = document.createElement("span") symbolOffline.setAttribute("class", "symbol") - var textOffline = document.createTextNode(" Knoten ist offline.") + var textOffline = document.createTextNode(" Knoten ist offline") spanOffline.appendChild(symbolOffline) spanOffline.appendChild(textOffline) p.appendChild(spanOffline) diff --git a/scss/_legend.scss b/scss/_legend.scss index 95ed77c..9f66ed0 100644 --- a/scss/_legend.scss +++ b/scss/_legend.scss @@ -4,6 +4,7 @@ height: 1em; border-radius: 50%; display: inline-block; + vertical-align: -5%; } .legend-new .symbol