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.

fix: center disabled audit log message in drawer

Sidwebworks14ea32dd1a4c
diff --git a/apps/erp/app/components/AuditLog/AuditLogDrawer.tsx b/apps/erp/app/components/AuditLog/AuditLogDrawer.tsx
index 1fd54d91f0..da4f1eb7e5 100644
--- a/apps/erp/app/components/AuditLog/AuditLogDrawer.tsx
+++ b/apps/erp/app/components/AuditLog/AuditLogDrawer.tsx
@@ -125,7 +125,7 @@ const AuditLogDrawer = memo(
const drawerBody = planRestricted ? (
<AuditLogUpgradeOverlay />
) : !auditLogEnabled ? (
- <div className="flex flex-col items-center justify-center h-full text-center gap-4 px-4">
+ <div className="flex flex-col items-center justify-center flex-1 min-h-[50vh] text-center gap-4 px-4">
<div className="rounded-full bg-muted p-3">
<LuHistory className="size-6 text-muted-foreground" />
</div>