Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

style: chunkier cards for adding investigations, actions, approvals

Brad Barbinc6a1db1e3add
diff --git a/apps/erp/app/modules/quality/ui/Issue/ActionTasksList.tsx b/apps/erp/app/modules/quality/ui/Issue/ActionTasksList.tsx
index 2324f7f281..78bbf49a4c 100644
--- a/apps/erp/app/modules/quality/ui/Issue/ActionTasksList.tsx
+++ b/apps/erp/app/modules/quality/ui/Issue/ActionTasksList.tsx
@@ -103,7 +103,7 @@ function NewAction({ isDisabled }: { isDisabled: boolean }) {
return (
<>
<button
- className="flex items-center justify-start bg-card border-2 border-dashed border-background w-full hover:bg-background/80 rounded-lg p-4 gap-2 transition-colors duration-200 text-sm cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
+ className="flex items-center justify-start bg-card border-2 border-dashed border-background w-full hover:bg-background/80 rounded-lg px-10 py-6 text-muted-foreground hover:text-foreground gap-2 transition-colors duration-200 text-sm cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
onClick={() => setIsOpen(true)}
disabled={isDisabled}
>
diff --git a/apps/erp/app/modules/quality/ui/Issue/InvestigationTasksList.tsx b/apps/erp/app/modules/quality/ui/Issue/InvestigationTasksList.tsx
index ef1f813330..6aa4838738 100644
--- a/apps/erp/app/modules/quality/ui/Issue/InvestigationTasksList.tsx
+++ b/apps/erp/app/modules/quality/ui/Issue/InvestigationTasksList.tsx
@@ -105,7 +105,7 @@ function NewInvestigation({ isDisabled }: { isDisabled: boolean }) {
return (
<>
<button
- className="flex items-center justify-start bg-card border-2 border-dashed border-background w-full hover:bg-background/80 rounded-lg p-4 gap-2 transition-colors duration-200 text-sm cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
+ className="flex items-center justify-start bg-card border-2 border-dashed border-background w-full hover:bg-background/80 rounded-lg px-10 py-6 text-muted-foreground hover:text-foreground gap-2 transition-colors duration-200 text-sm cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
onClick={() => setIsOpen(true)}
disabled={isDisabled}
>
diff --git a/apps/erp/app/modules/quality/ui/Issue/ReviewersList.tsx b/apps/erp/app/modules/quality/ui/Issue/ReviewersList.tsx
index bc89179cb8..8ad306fce3 100644
--- a/apps/erp/app/modules/quality/ui/Issue/ReviewersList.tsx
+++ b/apps/erp/app/modules/quality/ui/Issue/ReviewersList.tsx
@@ -169,7 +169,7 @@ function NewApprovalRequirement({ isDisabled }: { isDisabled: boolean }) {
return (
<>
<button
- className="flex items-center justify-start bg-card border-2 border-dashed border-background w-full hover:bg-background/80 rounded-lg p-4 gap-2 transition-colors duration-200 text-sm cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
+ className="flex items-center justify-start bg-card border-2 border-dashed border-background w-full hover:bg-background/80 rounded-lg px-10 py-6 text-muted-foreground hover:text-foreground gap-2 transition-colors duration-200 text-sm cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
onClick={() => setIsOpen(true)}
disabled={isDisabled}
>