From ac56c5e3910cf2e1d8b65124065417343b4e4669 Mon Sep 17 00:00:00 2001 From: Developer Date: Tue, 16 Jun 2026 16:06:08 +0000 Subject: [PATCH] fix(web/ui): correct project card layout and unify config section actions - Fix .project-card flex direction so expanded repos align left - Add .config-section-actions for consistent save bars - Replace sticky footer in Config Profiles with config-section-actions - Replace dialog-actions in Tool Type editor with config-section-actions - Convert manifest editor preview block to .config-section --- .../config-profiles/ConfigProfileEditorPanel.tsx | 2 +- .../tool-workshop/ToolTypeEditorPanel.tsx | 2 +- .../components/features/tool/manifest-editor.tsx | 15 ++++++++++----- apps/web/src/styles/global.css | 16 +++++++++++++--- 4 files changed, 25 insertions(+), 10 deletions(-) diff --git a/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx b/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx index f51ab35..883c7fe 100644 --- a/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx +++ b/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx @@ -294,7 +294,7 @@ export const ConfigProfileEditorPanel = ({ onFormChange("git_mounts", git_mounts)} /> -
+
)} - + ); }; diff --git a/apps/web/src/styles/global.css b/apps/web/src/styles/global.css index fa6f143..95da1fc 100644 --- a/apps/web/src/styles/global.css +++ b/apps/web/src/styles/global.css @@ -378,9 +378,9 @@ .project-card { display: flex; - justify-content: space-between; - align-items: flex-start; - gap: 1rem; + flex-direction: column; + align-items: stretch; + gap: 0; } .project-info h3 { @@ -635,6 +635,16 @@ margin-bottom: 0; } +.config-section-actions { + display: flex; + align-items: center; + justify-content: flex-start; + gap: var(--space-3); + margin-top: var(--space-2); + padding-top: var(--space-3); + border-top: 1px solid var(--border); +} + /* Legacy alias for existing consumers */ .form-section { padding: var(--space-4);