swarm-ui: agents page — explainer message when the roster is empty
Table gains an optional emptyMessage prop, rendered as a single full-width row in place of a bare empty tbody; AgentsPage is the first consumer. Screenshot-verified against a mock server returning an empty roster.
This commit is contained in:
parent
f1ab7cd43d
commit
46d1271603
3 changed files with 34 additions and 7 deletions
|
|
@ -21,3 +21,8 @@
|
|||
.ui-table tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
.ui-table-empty {
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
padding: 1.25em 0.75em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue