From 88b97cef2eb61551c5390d63dcbc18f9d3979593 Mon Sep 17 00:00:00 2001 From: Knacky Date: Thu, 11 Jun 2026 11:01:09 +0200 Subject: [PATCH] feat(frontend): 2-column layout for EngagementFormPage in edit mode In edit mode with canEditEngagements, wraps [form | C2ConfigCard] in a lg:grid-cols-2 responsive grid with items-start alignment. Stacks to single column on screens narrower than lg. In create mode, retains the existing max-w-2xl single-column layout. No logic changes. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/EngagementFormPage.tsx | 156 ++++++++++++---------- 1 file changed, 82 insertions(+), 74 deletions(-) diff --git a/frontend/src/pages/EngagementFormPage.tsx b/frontend/src/pages/EngagementFormPage.tsx index 6fa635c..3047437 100644 --- a/frontend/src/pages/EngagementFormPage.tsx +++ b/frontend/src/pages/EngagementFormPage.tsx @@ -124,7 +124,7 @@ export function EngagementFormPage(): JSX.Element { const submitting = createMutation.isPending || patchMutation.isPending; return ( -
+

{editing ? 'Edit engagement' : 'New engagement'} @@ -136,91 +136,99 @@ export function EngagementFormPage(): JSX.Element {

-
- - setForm({ ...form, name: e.target.value })} - required - /> - - - -