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: add title to hover card for attachments in portal

Brad Barbin3bda8d813941
diff --git a/apps/erp/app/routes/share+/customer.$id.tsx b/apps/erp/app/routes/share+/customer.$id.tsx
index 3a4374cc58..4f2b6e53ce 100644
--- a/apps/erp/app/routes/share+/customer.$id.tsx
+++ b/apps/erp/app/routes/share+/customer.$id.tsx
@@ -6,6 +6,7 @@ import {
HoverCard,
HoverCardContent,
HoverCardTrigger,
+ Separator,
Status,
} from "@carbon/react";
import { formatDate } from "@carbon/utils";
@@ -461,8 +462,13 @@ function JobOperationProgress({
</HoverCardTrigger>
<HoverCardContent
align="end"
- className="flex flex-col items-end gap-1 text-xs overflow-hidden w-96"
+ className="flex flex-col items-end gap-1 text-xs overflow-hidden max-w-96"
>
+ <div className="w-full text-left text-xs font-normal tracking-normal flex items-center gap-1">
+ <LuPaperclip className="size-3 text-muted-foreground" />
+ <span>Attachments</span>
+ </div>
+ <Separator className="my-1" />
{attachments.map((attachment) => {
const fileName = attachment.split("/").pop();
return (