generated from methanium/template
Update stuff
This commit is contained in:
parent
9b45799643
commit
f59470bc1f
4 changed files with 76 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ export function Header() {
|
|||
</Button>
|
||||
</nav>
|
||||
<div className="flex h-full items-center gap-2">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
<p className="text-sm text-muted-foreground max-w-70 overflow-hidden truncate">
|
||||
{snapshot?.generatedAt
|
||||
? `Updated ${formatTime(snapshot.generatedAt)}`
|
||||
: (error?.message ?? "Waiting for data")}
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ function ServiceRow({
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"px-4 flex items-center justify-between gap-40 py-2",
|
||||
"px-4 flex items-center justify-between py-2 min-w-130",
|
||||
index < max - 1
|
||||
? "border-border border-b border-[#C5CED6] dark:border-[#242D38]"
|
||||
: "",
|
||||
|
|
@ -268,7 +268,7 @@ function ServiceRow({
|
|||
<span className="truncate">{service.name}</span>
|
||||
<ExternalLink className="size-3 opacity-0 transition-opacity group-hover:opacity-60" />
|
||||
</a>
|
||||
<p className="mt-1 truncate text-xs text-muted-foreground">
|
||||
<p className="mt-1 truncate text-xs max-w-80 text-muted-foreground">
|
||||
{service.error ??
|
||||
(service.latencyMs !== null
|
||||
? `${service.latencyMs} ms${service.checkHttp3 ? " (HTTP/3 verified)" : ""}`
|
||||
|
|
|
|||
Loading…
Reference in a new issue