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.

chore(approvals): add spacing for empty state in ApprovalRules

Ayush Soni190703df9dc0
diff --git a/apps/erp/app/modules/approvals/ui/ApprovalRules.tsx b/apps/erp/app/modules/approvals/ui/ApprovalRules.tsx
index 565fc0cd99..d6fade4f22 100644
--- a/apps/erp/app/modules/approvals/ui/ApprovalRules.tsx
+++ b/apps/erp/app/modules/approvals/ui/ApprovalRules.tsx
@@ -59,7 +59,7 @@ const ApprovalRules = memo(({ poRules, qdRules }: ApprovalRulesProps) => {
</CardHeader>
<CardContent>
{poRules.length === 0 ? (
- <Empty />
+ <Empty className="my-4" />
) : (
<VStack spacing={3} className="items-stretch">
{poRules
@@ -94,7 +94,7 @@ const ApprovalRules = memo(({ poRules, qdRules }: ApprovalRulesProps) => {
</CardHeader>
<CardContent>
{qdRules.length === 0 ? (
- <Empty />
+ <Empty className="my-4" />
) : (
<VStack spacing={3} className="items-stretch">
{qdRules