Improve tooltips
All checks were successful
/ deploy (push) Successful in 48s

This commit is contained in:
Minecon724 2025-08-01 20:59:55 +02:00
commit df0792657e
Signed by: Minecon724
GPG key ID: A02E6E67AB961189
2 changed files with 5 additions and 1 deletions

View file

@ -166,7 +166,7 @@ for (let nodeId of Object.keys(nodes)) {
}
for (let connection of connections) {
let label = `${connection.from} - ${connection.to}<br><strong>${connection.latency}</strong>`;
let label = `${connection.from} - ${connection.to}<br><strong>${connection.latency}ms</strong>`;
L.polyline(
[ nodes[connection.from].location, nodes[connection.to].location ],

View file

@ -102,6 +102,10 @@ html, body {
backdrop-filter: blur(5px);
}
.leaflet-popup-content {
text-align: center;
}
.leaflet-control-zoom {
backdrop-filter: blur(5px);
}