From 2fe4b5ea17181465106617acbc21cbc21e9688a5 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 23 Jul 2026 15:48:50 +0000 Subject: [PATCH] style(ara-projects): let the permission detail fill the expanded row (#413) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the "What may do" heading and the "Set per workstream — Edit to change them" footnote, and span the detail table across all four columns with no padding, so it fills the expanded space rather than sitting inset within it. Its header row and cell padding now line up with the table above. --- .../ContractorPermissionsTable.tsx | 27 +++++++------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/src/app/projects/[projectId]/setup/contractors/ContractorPermissionsTable.tsx b/src/app/projects/[projectId]/setup/contractors/ContractorPermissionsTable.tsx index 1037541d..36dd3021 100644 --- a/src/app/projects/[projectId]/setup/contractors/ContractorPermissionsTable.tsx +++ b/src/app/projects/[projectId]/setup/contractors/ContractorPermissionsTable.tsx @@ -390,21 +390,19 @@ export function ContractorPermissionsTable({ className="border-b border-gray-100 bg-gray-50/70" data-testid={`contractor-permissions-${contractor.organisationId}`} > - - -

- What {contractor.organisationName} may do -

- + {/* Full-bleed: the detail table *is* the expanded + space, spanning every column of the row above. */} + )}
+ - - + {PERMISSION_COLUMNS.map((column) => ( @@ -418,7 +416,7 @@ export function ContractorPermissionsTable({ className="border-b border-gray-100 last:border-b-0" data-testid={`assignment-row-${assignment.id}`} > - {PERMISSION_COLUMNS.map((column) => ( -
+
Workstream {column.header} + {assignment.workstreamName} @@ -432,7 +430,7 @@ export function ContractorPermissionsTable({ )} +
- {canManage && ( -

- Set per workstream —{" "} - Edit to change - them. -

- )}