Wraps the System tab's controls and stats areas in a shared flex container so vertical rhythm is consistent, and canonicalizes hard-coded status colors to design tokens. - Wrap SystemControlsArea + SystemStatsArea in a new .cc-system-tab flex container with --space-lg gap, replacing the bare React fragment, so Server logs and Live system health sections get consistent breathing room. - Add responsive gap rule for .cc-system-tab under the 768px breakpoint. - Replace hard-coded --danger/--warning fallback colors in SystemControlsArea.css with canonical --color-error/--color-warning tokens. - Add SystemControlsArea test coverage. - Add a patch changeset documenting the spacing fix. Files changed: .changeset/fn-7877-system-tab-spacing.md | 7 + .../components/command-center/CommandCenter.css | 15 ++ .../components/command-center/CommandCenter.tsx | 8 +- .../__tests__/SystemControlsArea.test.tsx | 157 +++++++++++++++++++++ .../command-center/areas/SystemControlsArea.css | 8 +- 5 files changed, 189 insertions(+), 6 deletions(-) Fusion-Task-Id: FN-7877 Fusion-Task-Lineage: eb4a97ed-5442-43e8-8d38-348fc3e220a8 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
20 KiB
20 KiB