diff --git a/src/map/map.js b/src/map/map.js index 818ebed..ebd8774 100644 --- a/src/map/map.js +++ b/src/map/map.js @@ -166,7 +166,7 @@ for (let nodeId of Object.keys(nodes)) { } for (let connection of connections) { - let label = `${connection.from} - ${connection.to}
${connection.latency}`; + let label = `${connection.from} - ${connection.to}
${connection.latency}ms`; L.polyline( [ nodes[connection.from].location, nodes[connection.to].location ], diff --git a/src/map/style.css b/src/map/style.css index 76d4811..6c800da 100644 --- a/src/map/style.css +++ b/src/map/style.css @@ -102,6 +102,10 @@ html, body { backdrop-filter: blur(5px); } +.leaflet-popup-content { + text-align: center; +} + .leaflet-control-zoom { backdrop-filter: blur(5px); }