From 7fc352c85db8e3499368c6dac517bd31c43e36d8 Mon Sep 17 00:00:00 2001 From: thomasbeaudry Date: Wed, 14 Oct 2026 00:19:19 -0400 Subject: [PATCH 1/2] fix(web): align remote assignment table colors with datahub subject table Co-Authored-By: Claude Opus 4.6 --- .../components/BulkRemoteAssignmentWizard/MapStep.tsx | 1 + .../BulkRemoteAssignmentWizard/SourceStep.tsx | 11 +++++------ .../BulkRemoteAssignmentWizard/WizardTable.tsx | 2 +- .../DeleteRemoteAssignments.tsx | 1 - 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/web/src/components/BulkRemoteAssignmentWizard/MapStep.tsx b/apps/web/src/components/BulkRemoteAssignmentWizard/MapStep.tsx index 2dec22700..12e5d192c 100644 --- a/apps/web/src/components/BulkRemoteAssignmentWizard/MapStep.tsx +++ b/apps/web/src/components/BulkRemoteAssignmentWizard/MapStep.tsx @@ -121,6 +121,7 @@ export const MapStep = ({ groupName, onBack, onResolved, onStepChange, parsed }: {t({ en: 'Column Mapping', es: 'Correspondencia de columnas', fr: 'Correspondance des colonnes' })} diff --git a/apps/web/src/components/BulkRemoteAssignmentWizard/SourceStep.tsx b/apps/web/src/components/BulkRemoteAssignmentWizard/SourceStep.tsx index 2901ca16f..95305c16e 100644 --- a/apps/web/src/components/BulkRemoteAssignmentWizard/SourceStep.tsx +++ b/apps/web/src/components/BulkRemoteAssignmentWizard/SourceStep.tsx @@ -258,7 +258,9 @@ export const SourceStep = ({ /> ); }, - id: 'select' + id: 'select', + maxSize: 40, + size: 40 }, { accessorKey: 'subject', @@ -293,9 +295,6 @@ export const SourceStep = ({ } ]} data={rows} - // The table paints its rows and ground in the page colour; inside the card they - // take the card's, so the grid does not read as one more box. - rootStyle={{ '--color-background': 'var(--color-card)' }} onRowClick={(row) => toggle(row.id)} /> @@ -318,7 +317,7 @@ export const SourceStep = ({ 'text/csv': ['.csv'], 'text/tab-separated-values': ['.tsv'] }} - className="min-h-72" + className="bg-background min-h-72" data-testid="bulk-file-dropzone" description={ACCEPTED_FILE_EXTENSIONS.join(', ')} file={null} @@ -337,7 +336,7 @@ export const SourceStep = ({ })}