legend: drop full stops and optically center circles vertically
This commit is contained in:
parent
37c5dba449
commit
db7f005dd2
@ -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)
|
||||
|
@ -4,6 +4,7 @@
|
||||
height: 1em;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
vertical-align: -5%;
|
||||
}
|
||||
|
||||
.legend-new .symbol
|
||||
|
Loading…
Reference in New Issue
Block a user