feat: show full IP under each VM node name, set rotation to 2 min
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -36,8 +36,10 @@ function VmPill({ node }: { node: NetworkNode }) {
|
||||
<div className="flex items-center gap-1 bg-bg-card/80 border border-border rounded px-1.5 py-0.5">
|
||||
<PokemonSprite ip={node.ip} size={20} />
|
||||
<span className={`w-1.5 h-1.5 rounded-full ${dot} shrink-0`} />
|
||||
<span className="text-xs text-text-primary truncate">{node.name}</span>
|
||||
<span className="text-xs font-mono text-text-muted ml-auto shrink-0">.{node.ip.split(".").pop()}</span>
|
||||
<div className="min-w-0 flex-1">
|
||||
<p className="text-xs text-text-primary truncate leading-none">{node.name}</p>
|
||||
<p className="text-[0.65rem] font-mono text-text-muted leading-none mt-0.5">{node.ip}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user