Fix monitoring table layout & text wrapping

This commit is contained in:
Mononaut
2024-06-20 03:09:54 +00:00
parent 02eb633d89
commit 25b510359f
3 changed files with 8 additions and 17 deletions

View File

@@ -62,7 +62,7 @@ export class ServerHealthComponent implements OnInit {
getLastUpdateSeconds(host: HealthCheckHost): string {
if (host.lastChecked) {
const seconds = Math.ceil((this.now - host.lastChecked) / 1000);
return `${seconds} second${seconds > 1 ? 's' : ' '} ago`;
return `${seconds} s`;
} else {
return '~';
}