mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
fix: recent activity rows use the same separator as host status
This commit is contained in:
1 parent
e1d7b3e7c6
commit
399835d8bc
1 file changed
+15
-10
@@ -412,17 +412,22 @@ export function RecentActivityList({
|
|||||||
<span
|
<span
|
||||||
className={`size-1.5 shrink-0 rounded-full ${getStatusClasses(host?.status ?? false, scheme, "dot", statusLoading)}`}
|
className={`size-1.5 shrink-0 rounded-full ${getStatusClasses(host?.status ?? false, scheme, "dot", statusLoading)}`}
|
||||||
/>
|
/>
|
||||||
<span className="truncate text-xs font-medium">
|
<Facts className="min-w-0">
|
||||||
{item.hostName}
|
<span
|
||||||
</span>
|
className="truncate text-xs font-medium"
|
||||||
<span className="flex min-w-0 items-center gap-1 text-[10px] text-muted-foreground">
|
title={item.hostName}
|
||||||
<Icon className="size-2.5 shrink-0" />
|
>
|
||||||
<span className="truncate">
|
{item.hostName}
|
||||||
{target?.labelKey
|
|
||||||
? t(target.labelKey)
|
|
||||||
: item.type.replace("_", " ")}
|
|
||||||
</span>
|
</span>
|
||||||
</span>
|
<span className="flex min-w-0 items-center gap-1 text-[10px] text-muted-foreground">
|
||||||
|
<Icon className="size-2.5 shrink-0" />
|
||||||
|
<span className="truncate">
|
||||||
|
{target?.labelKey
|
||||||
|
? t(target.labelKey)
|
||||||
|
: item.type.replace("_", " ")}
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</Facts>
|
||||||
<span className="ml-auto shrink-0 text-[10px] tabular-nums text-muted-foreground">
|
<span className="ml-auto shrink-0 text-[10px] tabular-nums text-muted-foreground">
|
||||||
{ago(item.timestamp)}
|
{ago(item.timestamp)}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in new issue
Block a user