feat(fleet): reorder Overview toolbar actions so Add node sits far right (#1381)

Swap the trailing action buttons in the Fleet Overview toolbar so Check Updates sits
between the view-mode toggle and Add node, with Add node anchored at the far right edge.
This commit is contained in:
Anso
2026-06-17 13:25:06 -04:00
committed by GitHub
parent f23b7e1bac
commit f166a537c3
@@ -255,13 +255,6 @@ export function OverviewToolbar({
className="ml-auto shrink-0 shadow-card-bevel"
/>
{onAddNode && (
<Button size="sm" className="gap-1.5 shrink-0 h-9" onClick={onAddNode}>
<Plus className="w-4 h-4" strokeWidth={1.5} />
Add node
</Button>
)}
{onCheckUpdates && (
<Button
variant="outline"
@@ -274,6 +267,13 @@ export function OverviewToolbar({
Check Updates
</Button>
)}
{onAddNode && (
<Button size="sm" className="gap-1.5 shrink-0 h-9" onClick={onAddNode}>
<Plus className="w-4 h-4" strokeWidth={1.5} />
Add node
</Button>
)}
</div>
);
}