Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the terminal message box has a placeholder and a spinner instead of a label and a sent line

The label 'message <agent>' is the input's placeholder (the label stays for
screen readers). The send button shows a spinner over its label while the
request is pending and keeps its width, and the 'sent' line is gone: the box
empties when the message is held. Spinner is a component of its own now, used
by the button and the refresh picker.
This commit is contained in:
iris 2026-11-06 19:37:26 +01:00 • committed by mara
commit c37205e8f5

View file

@ -24,3 +24,17 @@
opacity: 0.6;
cursor: default;
}
.ui-button {
position: relative;
}
/* Busy: the label keeps its space, hidden, and the spinner sits over it. */
.ui-button-busy .ui-button-label {
visibility: hidden;
}
.ui-button-spinner {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
}