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: make price history chart full width

Brad Barbinb0fbc52a7d0a
diff --git a/apps/erp/app/modules/items/ui/Item/ItemCostHistoryChart.tsx b/apps/erp/app/modules/items/ui/Item/ItemCostHistoryChart.tsx
index db55f6cbad..7d635691f3 100644
--- a/apps/erp/app/modules/items/ui/Item/ItemCostHistoryChart.tsx
+++ b/apps/erp/app/modules/items/ui/Item/ItemCostHistoryChart.tsx
@@ -200,7 +200,7 @@ export function ItemCostHistoryChart({
<TabsContent value="chart">
<ChartContainer
config={chartConfig}
- className="min-h-[40vh] h-[calc(100dvh-570px)]"
+ className="min-h-[40vh] h-[calc(100dvh-570px)] w-full"
>
<LineChart accessibilityLayer data={chartData}>
<CartesianGrid vertical={false} />