chore(ui,agent): harden collector parsing, drop dead CSS, resilver label
Addresses final code review: - to_int/1 now returns 0 on nil or unparseable strings instead of crashing - remove unused .pool-row CSS (superseded by .pool-block) - clamp capacity bar width to [0, 100] to prevent visual overflow - pool_scrub_line/1 uses scan_function so resilver shows as "resilver..."
This commit is contained in:
parent
dd992573a1
commit
28a40a2650
5 changed files with 67 additions and 21 deletions
|
|
@ -246,17 +246,6 @@ hr { border: 0; border-top: 1px solid var(--border); margin: 0; }
|
|||
.kv dt { color: var(--muted); }
|
||||
.kv dd { margin: 0; font-family: var(--mono); color: var(--fg-bright); }
|
||||
|
||||
.pool-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0.45rem 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
gap: 0.8rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.pool-row:last-child { border-bottom: none; }
|
||||
.pool-row .details { color: var(--muted); font-family: var(--mono); font-size: 0.78rem; }
|
||||
|
||||
.capbar {
|
||||
height: 4px;
|
||||
background: var(--panel-2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue