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(production): wrap long unbroken notes on the batch card

Raul1f1d3d355acc
diff --git a/apps/mes/app/components/Kanban/components/ItemCard.tsx b/apps/mes/app/components/Kanban/components/ItemCard.tsx
index 317e13cfdd..d6bc5df91e 100644
--- a/apps/mes/app/components/Kanban/components/ItemCard.tsx
+++ b/apps/mes/app/components/Kanban/components/ItemCard.tsx
@@ -263,7 +263,9 @@ export function ItemCard({
{item.batchId && item.batchNotes && (
<HStack className="items-start justify-start space-x-2 max-md:col-span-2">
<LuStickyNote className="mt-0.5 shrink-0 text-muted-foreground" />
- <span className="text-sm line-clamp-2">{item.batchNotes}</span>
+ <span className="min-w-0 break-words text-sm line-clamp-2">
+ {item.batchNotes}
+ </span>
</HStack>
)}