diff --git a/frontend/src/pages/AgentFleet.jsx b/frontend/src/pages/AgentFleet.jsx
index 57394581..43d1b56b 100644
--- a/frontend/src/pages/AgentFleet.jsx
+++ b/frontend/src/pages/AgentFleet.jsx
@@ -106,12 +106,17 @@ const AgentFleet = () => {
// Publish the view switcher + Refresh to the shared tab-group top bar;
// re-registers on the values the node reads so spinner/counts stay in sync.
useTopbarActions(() => (
- <>
-
- >
+
), [loading, activeTab, queuedCommands.length, pendingServers.length]);
diff --git a/frontend/src/styles/components/_design-system.scss b/frontend/src/styles/components/_design-system.scss
index caf1d9d0..a683d343 100644
--- a/frontend/src/styles/components/_design-system.scss
+++ b/frontend/src/styles/components/_design-system.scss
@@ -1515,6 +1515,19 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&::-webkit-scrollbar { display: none; }
}
&__tabs { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
+
+ // Only compact icon actions (e.g. a lone Refresh): share the tabs' row,
+ // pinned right, instead of costing a full row of their own.
+ &__actions:has(> .sk-topbar__action--compact):not(:has(> :not(.sk-topbar__action--compact, .sk-topbar__chrome))) {
+ order: 2;
+ width: auto;
+ margin-left: auto;
+ }
+ &:has(.sk-topbar__actions > .sk-topbar__action--compact):not(:has(.sk-topbar__actions > :not(.sk-topbar__action--compact, .sk-topbar__chrome))) &__tabs {
+ order: 1;
+ width: auto;
+ flex: 1 1 0;
+ }
}
// Phones: the one page-header rule. The title takes the row beside its icon