swarm-ui: the broadcast roster and the egress lists show placeholders while they load
The broadcast grid showed nothing while the agents loaded, and the egress card a 'loading the … domains' line. They now show grey placeholders in the shape of what is coming: six agent chips with the real chip's height (160 px, measured), and three domain rows with their remove buttons.
This commit is contained in:
parent
a9dd276935
commit
8847e6390b
1 changed files with 57 additions and 5 deletions
|
|
@ -157,3 +157,16 @@
|
|||
.ui-broadcast-fail .ui-broadcast-outcome-name {
|
||||
color: var(--fg);
|
||||
}
|
||||
/* The loading twin's chip: not a control, so no pointer. */
|
||||
.ui-broadcast-agent-loading {
|
||||
cursor: default;
|
||||
}
|
||||
/* Its name and state lines take the height of a line of text, so the chip is
|
||||
the height of a real one. */
|
||||
.ui-broadcast-agent-loading .ui-broadcast-name,
|
||||
.ui-broadcast-agent-loading .ui-broadcast-state {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 1.6em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue