swarm ui: the header's tabs can be dragged onto each other to reorder them
Group tabs now show the grip and drag like agent tabs, and every tab in the strip takes the place of the tab another one is dropped on; the order is kept with the open tabs. An agent's tab keeps its other drag, onto a terminal to split it. moveTab is a pure function with tests.
This commit is contained in:
parent
0a72f212da
commit
f4421b216f
1 changed files with 114 additions and 14 deletions
|
|
@ -223,6 +223,10 @@
|
|||
padding-left: 1.3em;
|
||||
cursor: grab;
|
||||
}
|
||||
/* The tab a dragged tab would take the place of. */
|
||||
.shell-tab-drop {
|
||||
box-shadow: inset 2px 0 0 var(--purple);
|
||||
}
|
||||
.shell-tab-grip {
|
||||
position: absolute;
|
||||
left: 0.35em;
|
||||
|
|
|
|||
Loading…
Reference in a new issue